mirror of
https://github.com/python/cpython.git
synced 2025-07-10 04:45:36 +00:00
Changed random calls to PyThreadState_Get() to use the macro
This commit is contained in:
parent
c69ebe8d50
commit
e5662aedef
8 changed files with 26 additions and 26 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue