summaryrefslogtreecommitdiffstats
path: root/Modules
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 /Modules
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 'Modules')
-rw-r--r--Modules/threadmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/threadmodule.c b/Modules/threadmodule.c
index 24a32ae..b6b32f7 100644
--- a/Modules/threadmodule.c
+++ b/Modules/threadmodule.c
@@ -233,7 +233,7 @@ thread_PyThread_start_new_thread(PyObject *self, PyObject *fargs)
boot = PyMem_NEW(struct bootstate, 1);
if (boot == NULL)
return PyErr_NoMemory();
- boot->interp = PyThreadState_Get()->interp;
+ boot->interp = PyThreadState_GET()->interp;
boot->func = func;
boot->args = args;
boot->keyw = keyw;