diff Python/ceval.c @ 37597:2b2e9c388fbb legacy-trunk

low-hanging fruit in Python/ - g++ still hates all the enum_kind declarations in Python/Python-ast.c. Not sure what to do about those.
author Anthony Baxter <anthonybaxter@gmail.com>
date Tue, 11 Apr 2006 07:43:46 +0000
parents c782cf6b516e
children cc48985c3266
line wrap: on
line diff
--- a/Python/ceval.c	Tue Apr 11 07:42:36 2006 +0000
+++ b/Python/ceval.c	Tue Apr 11 07:43:46 2006 +0000
@@ -507,7 +507,7 @@
 }
 
 PyObject *
-PyEval_EvalFrameEx(PyFrameObject *f, int throw)
+PyEval_EvalFrameEx(PyFrameObject *f, int throwflag)
 {
 #ifdef DXPAIRS
 	int lastopcode = 0;
@@ -756,7 +756,7 @@
 	x = Py_None;	/* Not a reference, just anything non-NULL */
 	w = NULL;
 
-	if (throw) { /* support for generator.throw() */
+	if (throwflag) { /* support for generator.throw() */
 		why = WHY_EXCEPTION;
 		goto on_error;
 	}