Skip to content

Commit 08e845c

Browse files
Update Python/pylifecycle.c
Co-authored-by: Sam Gross <colesbury@gmail.com>
1 parent 5e25ba9 commit 08e845c

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

Python/pylifecycle.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2348,12 +2348,8 @@ make_pre_finalization_calls(PyThreadState *tstate, int subinterpreters)
23482348
}
23492349
assert(!PyErr_Occurred());
23502350
}
2351-
else if (ret == Py_PARK_AGAIN) {
2352-
continue;
2353-
}
23542351
else {
2355-
assert(ret == Py_PARK_TIMEOUT);
2356-
Py_UNREACHABLE();
2352+
assert(ret == Py_PARK_AGAIN);
23572353
}
23582354
}
23592355

0 commit comments

Comments
 (0)