This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Inaccurate footnote 1 in Lib ref, sect 2.3.6.4
Type: Stage:
Components: Documentation Versions:
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: georg.brandl, strangefeatures
Priority: normal Keywords:

Created on 2005-10-20 02:03 by strangefeatures, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg26635 - (view) Author: Andy (strangefeatures) Date: 2005-10-20 02:03
In the the library reference on mutable sequence types
(http://docs.python.org/lib/typesseq-mutable.html) ,
footnote (1) states:

  t must have the same length as the slice it is replacing

with reference to s[i:j] = t assignments. This is not
true (as other comments on the page imply). It should
either be:
(a) removed
(b) changed to: 
    t does not need to have the same length as the
slice it is replacing
msg26636 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2005-10-20 07:37
Logged In: YES 
user_id=1188172

Footnote 1 refers to extended slice assignment with a "step"
argument, and for that, it is true.
History
Date User Action Args
2022-04-11 14:56:13adminsetgithub: 42503
2005-10-20 02:03:38strangefeaturescreate