Fixed a missing incref introduced by a7ec0a1b0f7c

This commit is contained in:
Armin Ronacher 2012-10-06 14:30:32 +02:00
parent 226b1db0e2
commit 23c5bb4030
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ iter_len(seqiterobject *it)
return NULL; return NULL;
} }
else { else {
return Py_NotImplemented; Py_RETURN_NOTIMPLEMENTED;
} }
len = seqsize - it->it_index; len = seqsize - it->it_index;
if (len >= 0) if (len >= 0)