diff Python/errors.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 86fdf8fe7f17
children ed4dc05ea4b8
line wrap: on
line diff
--- a/Python/errors.c	Wed Mar 24 21:57:10 2004 +0000
+++ b/Python/errors.c	Wed Mar 24 22:22:12 2004 +0000
@@ -205,7 +205,7 @@
 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;