summaryrefslogtreecommitdiffstats
path: root/Python/pystate.c
diff options
context:
space:
mode:
authorNicholas Bastin <nick.bastin@gmail.com>2004-03-24 22:22:12 (GMT)
committerNicholas Bastin <nick.bastin@gmail.com>2004-03-24 22:22:12 (GMT)
commite5662aedef12b8d49c5c6c52d0e3fb47e66dbe0a (patch)
tree747cb7e8126cbbf85eec3c5fe05d8b38728bba3a /Python/pystate.c
parentc69ebe8d50529eae281275c841428eb9b375a442 (diff)
downloadcpython-e5662aedef12b8d49c5c6c52d0e3fb47e66dbe0a.zip
cpython-e5662aedef12b8d49c5c6c52d0e3fb47e66dbe0a.tar.gz
cpython-e5662aedef12b8d49c5c6c52d0e3fb47e66dbe0a.tar.bz2
Changed random calls to PyThreadState_Get() to use the macro
Diffstat (limited to 'Python/pystate.c')
-rw-r--r--Python/pystate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pystate.c b/Python/pystate.c
index 5793612..b0eb4c4 100644
--- a/Python/pystate.c
+++ b/Python/pystate.c
@@ -313,7 +313,7 @@ PyThreadState_GetDict(void)
int
PyThreadState_SetAsyncExc(long id, PyObject *exc) {
- PyThreadState *tstate = PyThreadState_Get();
+ PyThreadState *tstate = PyThreadState_GET();
PyInterpreterState *interp = tstate->interp;
PyThreadState *p;
int count = 0;