mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Changed random calls to PyThreadState_Get() to use the macro
This commit is contained in:
parent
c69ebe8d50
commit
e5662aedef
8 changed files with 26 additions and 26 deletions
|
@ -233,7 +233,7 @@ thread_PyThread_start_new_thread(PyObject *self, PyObject *fargs)
|
|||
boot = PyMem_NEW(struct bootstate, 1);
|
||||
if (boot == NULL)
|
||||
return PyErr_NoMemory();
|
||||
boot->interp = PyThreadState_Get()->interp;
|
||||
boot->interp = PyThreadState_GET()->interp;
|
||||
boot->func = func;
|
||||
boot->args = args;
|
||||
boot->keyw = keyw;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue