Skip to content

Commit 14b2e7f

Browse files
authored
Apply suggestion from @eendebakpt
1 parent a7c4497 commit 14b2e7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Objects/enumobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ increment_longindex_lock_held(enumobject *en)
184184
return NULL;
185185
}
186186
}
187-
assert(next_index != NULL);
187+
assert(en->en_longindex != NULL);
188188
// We hold one reference to "next_index" (a.k.a. the old value of
189189
// en->en_longindex); we'll either return it or keep it in en->en_longindex
190190
PyObject *next_index = en->en_longindex;

0 commit comments

Comments
 (0)