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: Documentation of for statement in Reference says that range() returns a list
Type: Stage:
Components: Documentation Versions: Python 3.0, Python 3.1
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: MLModel, benjamin.peterson, georg.brandl
Priority: normal Keywords:

Created on 2009-06-02 20:21 by MLModel, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg88764 - (view) Author: Mitchell Model (MLModel) Date: 2009-06-02 20:21
The documentation of the for statement in Section 7 of the Python 3
Reference states "range(3) returns the list [0, 1, 2]". Since range() no
longer returns a list, shouldn't this statement be made more precise?
(since this is the reference it should be technically accurate)
msg88789 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2009-06-03 03:13
Fixed in r73161.
History
Date User Action Args
2022-04-11 14:56:49adminsetgithub: 50429
2009-06-03 03:13:45benjamin.petersonsetstatus: open -> closed

nosy: + benjamin.peterson
messages: + msg88789

resolution: fixed
2009-06-02 20:21:46MLModelcreate