diff options
Diffstat (limited to 'Objects/longobject.c')
-rw-r--r-- | Objects/longobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/longobject.c b/Objects/longobject.c index 240e92a..c0b4ce0 100644 --- a/Objects/longobject.c +++ b/Objects/longobject.c @@ -5719,7 +5719,7 @@ _PyLong_Init(PyThreadState *tstate) tstate->interp->small_ints[i] = v; } - if (_Py_IsMainInterpreter(tstate)) { + if (_Py_IsMainInterpreter(tstate->interp)) { /* initialize int_info */ if (Int_InfoType.tp_name == NULL) { if (PyStructSequence_InitType2(&Int_InfoType, &int_info_desc) < 0) { |