diff options
Diffstat (limited to 'Python/pystate.c')
-rw-r--r-- | Python/pystate.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Python/pystate.c b/Python/pystate.c index a792cc5..621318f 100644 --- a/Python/pystate.c +++ b/Python/pystate.c @@ -169,12 +169,6 @@ _PyRuntimeState_ReInitThreads(_PyRuntimeState *runtime) #define HEAD_UNLOCK(runtime) \ PyThread_release_lock((runtime)->interpreters.mutex) -int -_Py_IsMainInterpreter(PyThreadState* tstate) -{ - return (tstate->interp == tstate->interp->runtime->interpreters.main); -} - /* Forward declaration */ static void _PyGILState_NoteThreadState( struct _gilstate_runtime_state *gilstate, PyThreadState* tstate); |