summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2012-09-28 13:43:40 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2012-09-28 13:43:40 (GMT)
commit0e1af282b8e747c8dc032ea0dbda53f3f4ef17d4 (patch)
treea1d4c3e9fe95189e6f27909f73560b319503f2b5 /Objects
parent207d22993320c74732e996e5d4843874d2640bcd (diff)
downloadcpython-0e1af282b8e747c8dc032ea0dbda53f3f4ef17d4.zip
cpython-0e1af282b8e747c8dc032ea0dbda53f3f4ef17d4.tar.gz
cpython-0e1af282b8e747c8dc032ea0dbda53f3f4ef17d4.tar.bz2
Fix typo.
Diffstat (limited to 'Objects')
-rw-r--r--Objects/setobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/setobject.c b/Objects/setobject.c
index 3e91572..723679a 100644
--- a/Objects/setobject.c
+++ b/Objects/setobject.c
@@ -831,10 +831,10 @@ setiter_reduce(setiterobject *si)
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);