Commit dbeb38fc authored by Andrew M. Kuchling's avatar Andrew M. Kuchling

[Bug #1515932] Clarify description of slice assignment

parent 150ea79f
......@@ -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}}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment