Commit a9a7611f authored by Ezio Melotti's avatar Ezio Melotti

#6994: fix typo in enumerate docstring

parent 2fcd03bb
...@@ -161,7 +161,7 @@ enum_next(enumobject *en) ...@@ -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]), ...");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment