From: Andrew M. Kuchling Date: Mon, 3 Jul 2006 14:07:30 +0000 (+0000) Subject: [Bug #1515932] Clarify description of slice assignment X-Git-Tag: v2.5b2~61 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f89679510347ecfa21f4305a398116e6af8c2318;p=python [Bug #1515932] Clarify description of slice assignment --- diff --git a/Doc/lib/libstdtypes.tex b/Doc/lib/libstdtypes.tex index ccc2c19083..a14f8175b7 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}}