Skip to content

Commit 31582a2

Browse files
committed
Fix assert call.
1 parent 43eaabb commit 31582a2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Python/gc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1708,7 +1708,7 @@ gc_collect_increment(PyThreadState *tstate, struct gc_collection_stats *stats)
17081708

17091709
if (gc_list_is_empty(not_visited)) {
17101710
completed_scavenge(gcstate);
1711-
assert(gc_list_is_empty(&gcstate->old[visited].head));
1711+
assert(gc_list_is_empty(&gcstate->old[gcstate->visited_space].head));
17121712
}
17131713
validate_spaces(gcstate);
17141714
}

0 commit comments

Comments
 (0)