Title: Documentation of for statement in Reference says that range() returns a list
Type: Stage:
Components: Documentation Versions: Python 3.0, Python 3.1
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 2009-06-03 03:13 by benjamin.peterson. 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.
Date User Action Args
2009-06-03 03:13:45benjamin.petersonsetstatus: open -> closed

nosy: + benjamin.peterson
messages: + msg88789

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