Bugs item #1515932, was opened at 2006-07-02 12:53
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1515932&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Documentation
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Alan (aisaac0)
Assigned to: Nobody/Anonymous (nobody)
Summary: 2.3.6.4 Mutable Sequence Types clarification

Initial Comment:
Documentation of Mutable Sequence Types
at http://docs.python.org/lib/typesseq-mutable.html
has the following language:

s[i:j] = t  slice of s from i to j is replaced by t     
...
s[i:j:k] = t the elements of s[i:j:k] are replaced by
those of t      (1)

The asymmetry is misleading (e.g., one might think that
in the first case t could be a single number that would
be assigned to all the elements, particularly since the
footnote is omitted).

Therefore I propose the first case become:

s[i:j] = t   the elements of the slice of s from i to j
are replaced by those of t      (1)

The following alternative would be even more parallel
and also acceptable:

s[i:j] = t  the elements of s[i:j] are replaced by
those of t      (1)

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1515932&group_id=5470
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to