From: Armin Ronacher Date: Sat, 6 Oct 2012 12:30:32 +0000 (+0200) Subject: Fixed a missing incref introduced by a7ec0a1b0f7c X-Git-Tag: v3.4.0a1~2345 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=23c5bb4030c6a78fcf0a75a167f2b4c765a61111;p=python Fixed a missing incref introduced by a7ec0a1b0f7c --- diff --git a/Objects/iterobject.c b/Objects/iterobject.c index cf4af5b81f..9acd1b79d7 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)