diff Python/pystate.c @ 31797:846b3ee7e106 legacy-trunk

Changed random calls to PyThreadState_Get() to use the macro
author Nicholas Bastin <nick.bastin@gmail.com>
date Wed, 24 Mar 2004 22:22:12 +0000
parents 014cc362aa91
children 41c59d80bbc5
line wrap: on
line diff
--- a/Python/pystate.c	Wed Mar 24 21:57:10 2004 +0000
+++ b/Python/pystate.c	Wed Mar 24 22:22:12 2004 +0000
@@ -313,7 +313,7 @@
 
 int
 PyThreadState_SetAsyncExc(long id, PyObject *exc) {
-	PyThreadState *tstate = PyThreadState_Get();
+	PyThreadState *tstate = PyThreadState_GET();
 	PyInterpreterState *interp = tstate->interp;
 	PyThreadState *p;
 	int count = 0;