]> granicus.if.org Git - python/commitdiff
#6994: fix typo in enumerate docstring
authorEzio Melotti <ezio.melotti@gmail.com>
Fri, 25 Sep 2009 16:07:55 +0000 (16:07 +0000)
committerEzio Melotti <ezio.melotti@gmail.com>
Fri, 25 Sep 2009 16:07:55 +0000 (16:07 +0000)
Objects/enumobject.c

index 0dc4eefd94fd4561caaa24882d5d6720cfc58e22..2c1c3f8a50b4ec18614b0e11962cae6f42f32ebb 100644 (file)
@@ -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]), ...");