Changed random calls to PyThreadState_Get() to use the macro

This commit is contained in:
Nicholas Bastin 2004-03-24 22:22:12 +00:00
parent c69ebe8d50
commit e5662aedef
8 changed files with 26 additions and 26 deletions

View file

@ -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;