Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 23c5bb4

Browse files
committed
Fixed a missing incref introduced by a7ec0a1b0f7c
1 parent 226b1db commit 23c5bb4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Objects/iterobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ iter_len(seqiterobject *it)
8282
return NULL;
8383
}
8484
else {
85-
return Py_NotImplemented;
85+
Py_RETURN_NOTIMPLEMENTED;
8686
}
8787
len = seqsize - it->it_index;
8888
if (len >= 0)

0 commit comments

Comments
 (0)