diff options
author | Anthony Baxter <anthonybaxter@gmail.com> | 2006-04-11 07:43:46 (GMT) |
---|---|---|
committer | Anthony Baxter <anthonybaxter@gmail.com> | 2006-04-11 07:43:46 (GMT) |
commit | a863d334aa7c9d81daea4f6b9800e8245779dc44 (patch) | |
tree | a8b7372c51cdf6348dd9acf584a6f3281a3709e0 /Python/ceval.c | |
parent | a62862120ddc4636f8819b3f3003ea94c5db0d21 (diff) | |
download | cpython-a863d334aa7c9d81daea4f6b9800e8245779dc44.zip cpython-a863d334aa7c9d81daea4f6b9800e8245779dc44.tar.gz cpython-a863d334aa7c9d81daea4f6b9800e8245779dc44.tar.bz2 |
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.
Diffstat (limited to 'Python/ceval.c')
-rw-r--r-- | Python/ceval.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/ceval.c b/Python/ceval.c index 6302ede..cb89769 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -507,7 +507,7 @@ PyEval_EvalFrame(PyFrameObject *f) { } PyObject * -PyEval_EvalFrameEx(PyFrameObject *f, int throw) +PyEval_EvalFrameEx(PyFrameObject *f, int throwflag) { #ifdef DXPAIRS int lastopcode = 0; @@ -756,7 +756,7 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throw) 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; } |