[Python-checkins] r47219 - python/trunk/Doc/lib/libstdtypes.tex
andrew.kuchling
python-checkins at python.org
Mon Jul 3 16:07:31 CEST 2006
Author: andrew.kuchling
Date: Mon Jul 3 16:07:30 2006
New Revision: 47219
Modified:
python/trunk/Doc/lib/libstdtypes.tex
Log:
[Bug #1515932] Clarify description of slice assignment
Modified: python/trunk/Doc/lib/libstdtypes.tex
==============================================================================
--- python/trunk/Doc/lib/libstdtypes.tex (original)
+++ python/trunk/Doc/lib/libstdtypes.tex Mon Jul 3 16:07:30 2006
@@ -1101,7 +1101,8 @@
\lineiii{\var{s}[\var{i}] = \var{x}}
{item \var{i} of \var{s} is replaced by \var{x}}{}
\lineiii{\var{s}[\var{i}:\var{j}] = \var{t}}
- {slice of \var{s} from \var{i} to \var{j} is replaced by \var{t}}{}
+ {slice of \var{s} from \var{i} to \var{j}
+ is replaced by the contents of the iterable \var{t}}{}
\lineiii{del \var{s}[\var{i}:\var{j}]}
{same as \code{\var{s}[\var{i}:\var{j}] = []}}{}
\lineiii{\var{s}[\var{i}:\var{j}:\var{k}] = \var{t}}
More information about the Python-checkins
mailing list