Bugs item #1515932, was opened at 2006-07-02 13:53 Message generated for change (Settings changed) made by akuchling 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: Closed >Resolution: Fixed Priority: 5 Submitted By: Alan (aisaac0) >Assigned to: A.M. Kuchling (akuchling) 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) ---------------------------------------------------------------------- >Comment By: A.M. Kuchling (akuchling) Date: 2006-07-03 10:08 Message: Logged In: YES user_id=11375 In rev.47219, I've replaced the first case with "slice of \var{s} from \var{i} to \var{j} is replaced by the contents of the iterable \var{t}". Thanks for your comment. ---------------------------------------------------------------------- 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