[issue6179] Documentation of for statement in Reference says that range() returns a list

Mitchell Model report at bugs.python.org
Tue Jun 2 22:21:48 CEST 2009


New submission from Mitchell Model <mlm at acm.org>:

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)

----------
assignee: georg.brandl
components: Documentation
messages: 88764
nosy: MLModel, georg.brandl
severity: normal
status: open
title: Documentation of for statement in Reference says that range() returns a list
versions: Python 3.0, Python 3.1

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6179>
_______________________________________


More information about the Python-bugs-list mailing list