[Python-checkins] cpython: Fix typo.
ezio.melotti
python-checkins at python.org
Fri Sep 28 15:44:01 CEST 2012
http://hg.python.org/cpython/rev/cfa511af42b2
changeset: 79208:cfa511af42b2
user: Ezio Melotti <ezio.melotti at gmail.com>
date: Fri Sep 28 16:43:40 2012 +0300
summary:
Fix typo.
files:
Objects/setobject.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Objects/setobject.c b/Objects/setobject.c
--- a/Objects/setobject.c
+++ b/Objects/setobject.c
@@ -831,10 +831,10 @@
if (!list)
return NULL;
- /* copy the itertor state */
+ /* copy the iterator state */
tmp = *si;
Py_XINCREF(tmp.si_set);
-
+
/* iterate the temporary into a list */
for(;;) {
PyObject *element = setiter_iternext(&tmp);
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list