mirror of
https://github.com/python/cpython.git
synced 2025-08-01 07:33:08 +00:00
#6994: fix typo in enumerate docstring
This commit is contained in:
parent
2fcd03bb77
commit
a9a7611fb6
1 changed files with 1 additions and 1 deletions
|
@ -161,7 +161,7 @@ enum_next(enumobject *en)
|
|||
PyDoc_STRVAR(enum_doc,
|
||||
"enumerate(iterable) -> iterator for index, value of iterable\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"
|
||||
"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]), ...");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue