Mercurial > cpython-lru_cache-weakref
diff Modules/threadmodule.c @ 31797:846b3ee7e106 legacy-trunk
Changed random calls to PyThreadState_Get() to use the macro
| author | Nicholas Bastin <nick.bastin@gmail.com> |
|---|---|
| date | Wed, 24 Mar 2004 22:22:12 +0000 |
| parents | 1402f265e48f |
| children | 97768d87394a |
line wrap: on
line diff
--- a/Modules/threadmodule.c Wed Mar 24 21:57:10 2004 +0000 +++ b/Modules/threadmodule.c Wed Mar 24 22:22:12 2004 +0000 @@ -233,7 +233,7 @@ 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;
