mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +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
|
@ -205,7 +205,7 @@ finally:
|
|||
void
|
||||
PyErr_Fetch(PyObject **p_type, PyObject **p_value, PyObject **p_traceback)
|
||||
{
|
||||
PyThreadState *tstate = PyThreadState_Get();
|
||||
PyThreadState *tstate = PyThreadState_GET();
|
||||
|
||||
*p_type = tstate->curexc_type;
|
||||
*p_value = tstate->curexc_value;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue