diff options
Diffstat (limited to 'Python/ceval.c')
-rw-r--r-- | Python/ceval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/ceval.c b/Python/ceval.c index 8e878cb..d33cd4e 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -617,7 +617,7 @@ Py_AddPendingCall(int (*func)(void *), void *arg) } else { /* Last resort: use the main interpreter */ - interp = _PyRuntime.interpreters.main; + interp = _PyInterpreterState_Main(); } return _PyEval_AddPendingCall(interp, func, arg); } |