diff options
author | Nicholas Bastin <nick.bastin@gmail.com> | 2004-03-24 22:22:12 (GMT) |
---|---|---|
committer | Nicholas Bastin <nick.bastin@gmail.com> | 2004-03-24 22:22:12 (GMT) |
commit | e5662aedef12b8d49c5c6c52d0e3fb47e66dbe0a (patch) | |
tree | 747cb7e8126cbbf85eec3c5fe05d8b38728bba3a /Python/errors.c | |
parent | c69ebe8d50529eae281275c841428eb9b375a442 (diff) | |
download | cpython-e5662aedef12b8d49c5c6c52d0e3fb47e66dbe0a.zip cpython-e5662aedef12b8d49c5c6c52d0e3fb47e66dbe0a.tar.gz cpython-e5662aedef12b8d49c5c6c52d0e3fb47e66dbe0a.tar.bz2 |
Changed random calls to PyThreadState_Get() to use the macro
Diffstat (limited to 'Python/errors.c')
-rw-r--r-- | Python/errors.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/errors.c b/Python/errors.c index 6416ff3..1da4cc3 100644 --- a/Python/errors.c +++ b/Python/errors.c @@ -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; |