Skip to content

Commit 3975683

Browse files
committed
oops
1 parent 7831074 commit 3975683

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Modules/arraymodule.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3091,13 +3091,13 @@ array_arrayiterator___setstate__(arrayiterobject *self, PyObject *state)
30913091
if (index == -1 && PyErr_Occurred())
30923092
return NULL;
30933093
arrayobject *ao = self->ao;
3094-
// if (ao != NULL) {
3094+
if (ao != NULL) {
30953095
if (index < 0)
30963096
index = 0;
30973097
else if (index > Py_SIZE(ao))
30983098
index = Py_SIZE(ao); /* iterator exhausted */
30993099
self->index = index;
3100-
// }
3100+
}
31013101
Py_RETURN_NONE;
31023102
}
31033103

0 commit comments

Comments
 (0)