Browse Source

bpo-36328: Fix compiler warning in Py_NewInterpreter() (GH-12381)

pull/12420/head
Stéphane Wirtel 7 years ago
committed by Victor Stinner
parent
commit
9e06d2b865
  1. 2
      Python/pylifecycle.c

2
Python/pylifecycle.c

@ -1434,7 +1434,7 @@ handle_error:
PyThreadState *
Py_NewInterpreter(void)
{
PyThreadState *tstate;
PyThreadState *tstate = NULL;
_PyInitError err = new_interpreter(&tstate);
if (_Py_INIT_FAILED(err)) {
_Py_ExitInitError(err);

Loading…
Cancel
Save