mirror of https://github.com/python/cpython
Merged revisions 75055 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r75055 | ezio.melotti | 2009-09-25 19:07:55 +0300 (Fri, 25 Sep 2009) | 1 line #6994: fix typo in enumerate docstring ........
This commit is contained in:
parent
418f81d9b6
commit
ed61093277
|
@ -161,7 +161,7 @@ enum_next(enumobject *en)
|
||||||
PyDoc_STRVAR(enum_doc,
|
PyDoc_STRVAR(enum_doc,
|
||||||
"enumerate(iterable) -> iterator for index, value of iterable\n"
|
"enumerate(iterable) -> iterator for index, value of iterable\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Return an enumerate object. iterable must be an other object that supports\n"
|
"Return an enumerate object. iterable must be another object that supports\n"
|
||||||
"iteration. The enumerate object yields pairs containing a count (from\n"
|
"iteration. The enumerate object yields pairs containing a count (from\n"
|
||||||
"zero) and a value yielded by the iterable argument. enumerate is useful\n"
|
"zero) and a value yielded by the iterable argument. enumerate is useful\n"
|
||||||
"for obtaining an indexed list: (0, seq[0]), (1, seq[1]), (2, seq[2]), ...");
|
"for obtaining an indexed list: (0, seq[0]), (1, seq[1]), (2, seq[2]), ...");
|
||||||
|
|
Loading…
Reference in New Issue