From e5662aedef12b8d49c5c6c52d0e3fb47e66dbe0a Mon Sep 17 00:00:00 2001 From: Nicholas Bastin Date: Wed, 24 Mar 2004 22:22:12 +0000 Subject: Changed random calls to PyThreadState_Get() to use the macro --- Python/errors.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Python/errors.c') diff --git a/Python/errors.c b/Python/errors.c index 6416ff3a5a..1da4cc33fa 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; -- cgit v1.2.1