diff Objects/enumobject.c @ 56213:3567e87157d8 legacy-trunk

#6994: fix typo in enumerate docstring
author Ezio Melotti <ezio.melotti@gmail.com>
date Fri, 25 Sep 2009 16:07:55 +0000
parents 0c617b7a727a
children fd25030223b0
line wrap: on
line diff
--- a/Objects/enumobject.c	Fri Sep 25 15:19:51 2009 +0000
+++ b/Objects/enumobject.c	Fri Sep 25 16:07:55 2009 +0000
@@ -161,7 +161,7 @@
 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]), ...");