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

@ -205,7 +205,7 @@ finally:
void
PyErr_Fetch(PyObject **p_type, PyObject **p_value, PyObject **p_traceback)
{
PyThreadState *tstate = PyThreadState_Get();
PyThreadState *tstate = PyThreadState_GET();
*p_type = tstate->curexc_type;
*p_value = tstate->curexc_value;