diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2006-07-03 14:07:30 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2006-07-03 14:07:30 (GMT) |
commit | f89679510347ecfa21f4305a398116e6af8c2318 (patch) | |
tree | a5c0a29e3f7caa77b6593992aa3fbb67b1122cc9 /Doc | |
parent | d5cfa5491a7a7c23fa31bf2262d00fcaf4b7474d (diff) | |
download | cpython-f89679510347ecfa21f4305a398116e6af8c2318.zip cpython-f89679510347ecfa21f4305a398116e6af8c2318.tar.gz cpython-f89679510347ecfa21f4305a398116e6af8c2318.tar.bz2 |
[Bug #1515932] Clarify description of slice assignment
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/lib/libstdtypes.tex | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/lib/libstdtypes.tex b/Doc/lib/libstdtypes.tex index ccc2c19..a14f817 100644 --- a/Doc/lib/libstdtypes.tex +++ b/Doc/lib/libstdtypes.tex @@ -1101,7 +1101,8 @@ The following operations are defined on mutable sequence types (where \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}} |