summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2009-09-25 16:07:55 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2009-09-25 16:07:55 (GMT)
commita9a7611fb6b1a69d0ab9474da2b9cf9e8b294b54 (patch)
tree39931b144b4bc262028a4c606e6d1a11795a58b8 /Objects
parent2fcd03bb77fbd3d0b186c15b46de47cf0422ba68 (diff)
downloadcpython-a9a7611fb6b1a69d0ab9474da2b9cf9e8b294b54.zip
cpython-a9a7611fb6b1a69d0ab9474da2b9cf9e8b294b54.tar.gz
cpython-a9a7611fb6b1a69d0ab9474da2b9cf9e8b294b54.tar.bz2
#6994: fix typo in enumerate docstring
Diffstat (limited to 'Objects')
-rw-r--r--Objects/enumobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/enumobject.c b/Objects/enumobject.c
index 0dc4eef..2c1c3f8 100644
--- a/Objects/enumobject.c
+++ b/Objects/enumobject.c
@@ -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]), ...");