Use PyThreadState_GET() macro.

This commit is contained in:
Guido van Rossum 1998-12-21 18:33:30 +00:00
parent 89ce454498
commit 885553e8d3
2 changed files with 2 additions and 2 deletions

View file

@ -365,7 +365,7 @@ eval_code2(co, globals, locals,
register PyFrameObject *f; /* Current frame */
register PyObject **fastlocals;
PyObject *retval = NULL; /* Return value */
PyThreadState *tstate = PyThreadState_Get();
PyThreadState *tstate = PyThreadState_GET();
unsigned char *first_instr;
#ifdef LLTRACE
int lltrace;