[Bug #1515932] Clarify description of slice assignment

This commit is contained in:
Andrew M. Kuchling 2006-07-03 14:07:30 +00:00
parent d5cfa5491a
commit f896795103
1 changed files with 2 additions and 1 deletions

View File

@ -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}}