summaryrefslogtreecommitdiffstats
path: root/Python/ceval.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-12-21 18:33:30 (GMT)
committerGuido van Rossum <guido@python.org>1998-12-21 18:33:30 (GMT)
commit885553e8d32fa28c6d5d444907c01c0c93384b8e (patch)
tree6a6a5c5f3804b7d3da56e8be61d814133f8dfa2a /Python/ceval.c
parent89ce4544988bcfd3535c11f1f8d1d55aea69a81f (diff)
downloadcpython-885553e8d32fa28c6d5d444907c01c0c93384b8e.zip
cpython-885553e8d32fa28c6d5d444907c01c0c93384b8e.tar.gz
cpython-885553e8d32fa28c6d5d444907c01c0c93384b8e.tar.bz2
Use PyThreadState_GET() macro.
Diffstat (limited to 'Python/ceval.c')
-rw-r--r--Python/ceval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index 3625473..b013ca1 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -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;