From 23c5bb4030c6a78fcf0a75a167f2b4c765a61111 Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Sat, 6 Oct 2012 14:30:32 +0200 Subject: [PATCH] Fixed a missing incref introduced by a7ec0a1b0f7c --- Objects/iterobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objects/iterobject.c b/Objects/iterobject.c index cf4af5b81f2..9acd1b79d7a 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)