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/pystate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Python/pystate.c') diff --git a/Python/pystate.c b/Python/pystate.c index 5793612b51..b0eb4c48a7 100644 --- a/Python/pystate.c +++ b/Python/pystate.c @@ -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; -- cgit v1.2.1