summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorArmin Ronacher <armin.ronacher@active-4.com>2012-10-06 12:30:32 (GMT)
committerArmin Ronacher <armin.ronacher@active-4.com>2012-10-06 12:30:32 (GMT)
commit23c5bb4030c6a78fcf0a75a167f2b4c765a61111 (patch)
tree666b77b114237cf7741a951eba9f5f053292c2fb /Objects
parent226b1db0e2b3eccb8821f60f9a75c8abfc62b78a (diff)
downloadcpython-23c5bb4030c6a78fcf0a75a167f2b4c765a61111.zip
cpython-23c5bb4030c6a78fcf0a75a167f2b4c765a61111.tar.gz
cpython-23c5bb4030c6a78fcf0a75a167f2b4c765a61111.tar.bz2
Fixed a missing incref introduced by a7ec0a1b0f7c
Diffstat (limited to 'Objects')
-rw-r--r--Objects/iterobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/iterobject.c b/Objects/iterobject.c
index cf4af5b..9acd1b7 100644
--- a/Objects/iterobject.c
+++ b/Objects/iterobject.c
@@ -82,7 +82,7 @@ iter_len(seqiterobject *it)
return NULL;
}
else {
- return Py_NotImplemented;
+ Py_RETURN_NOTIMPLEMENTED;
}
len = seqsize - it->it_index;
if (len >= 0)