diff options
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 423f792..f2768ee 100644 --- a/Python/errors.c +++ b/Python/errors.c @@ -55,7 +55,7 @@ PyErr_Restore(type, value, traceback) PyObject *value; PyObject *traceback; { - PyThreadState *tstate = PyThreadState_Get(); + PyThreadState *tstate = PyThreadState_GET(); PyObject *oldtype, *oldvalue, *oldtraceback; if (traceback != NULL && !PyTraceBack_Check(traceback)) { |