summaryrefslogtreecommitdiff
path: root/Python
diff options
context:
space:
mode:
Diffstat (limited to 'Python')
-rw-r--r--Python/ceval.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index 0ee740ace3..380212a71a 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -241,12 +241,7 @@ _PyEval_InitThreads(PyThreadState *tstate)
void
PyEval_InitThreads(void)
{
- PyThreadState *tstate = _PyThreadState_GET();
-
- PyStatus status = _PyEval_InitThreads(tstate);
- if (_PyStatus_EXCEPTION(status)) {
- Py_ExitStatusException(status);
- }
+ /* Do nothing: kept for backward compatibility */
}
void