[issue11889] 'enumerate' 'start' parameter documentation is confusing

R. David Murray report at bugs.python.org
Wed Apr 20 19:52:42 CEST 2011


R. David Murray <rdmurray at bitdance.com> added the comment:

If you know what an iterator is, the documentation, it seems to me, is clear.  That is, an iterator cannot be indexed, so the behavior you expected could not be implemented by enumerate.

That doesn't meant the docs shouldn't be improved.  An example with a non-zero start would make things clear.

----------
nosy: +r.david.murray

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


More information about the Python-bugs-list mailing list