A few more PyThreadState_Get to PyThreadState_GET conversions

This commit is contained in:
Nicholas Bastin 2004-03-25 02:16:23 +00:00
parent f167dc3380
commit 2786d90617
3 changed files with 3 additions and 3 deletions

View file

@ -178,7 +178,7 @@ set_hook(const char *funcname, PyObject **hook_var,
Py_INCREF(function);
*hook_var = function;
Py_XDECREF(tmp);
*tstate = PyThreadState_Get();
*tstate = PyThreadState_GET();
}
else {
PyOS_snprintf(buf, sizeof(buf),