mirror of https://github.com/python/cpython
Fixed a missing incref introduced by a7ec0a1b0f7c
This commit is contained in:
parent
226b1db0e2
commit
23c5bb4030
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue