summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-08-05 02:18:01 (GMT)
committerGuido van Rossum <guido@python.org>1997-08-05 02:18:01 (GMT)
commitf9c90c533e5b7db1b797cd7c07f6e5d4a004fdf6 (patch)
tree48cea545b5e4b7a1921915c477733feecd4b5def
parentfbbd57e4ca4250e27b564d989a75caa0b1a4a9b5 (diff)
downloadcpython-f9c90c533e5b7db1b797cd7c07f6e5d4a004fdf6.zip
cpython-f9c90c533e5b7db1b797cd7c07f6e5d4a004fdf6.tar.gz
cpython-f9c90c533e5b7db1b797cd7c07f6e5d4a004fdf6.tar.bz2
Renamed a local label that was accidentally grandly renamed to
'Py_Cleanup' back to 'cleanup'.
-rw-r--r--Python/ceval.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index bb0fb65..07c3ab6 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -2139,10 +2139,10 @@ call_trace(p_trace, p_newtrace, f, msg, arg)
args = PyTuple_New(3);
if (args == NULL)
- goto Py_Cleanup;
+ goto cleanup;
what = PyString_FromString(msg);
if (what == NULL)
- goto Py_Cleanup;
+ goto cleanup;
Py_INCREF(f);
PyTuple_SET_ITEM(args, 0, (PyObject *)f);
PyTuple_SET_ITEM(args, 1, what);
@@ -2155,7 +2155,7 @@ call_trace(p_trace, p_newtrace, f, msg, arg)
res = PyEval_CallObject(*p_trace, args); /* May clear *p_trace! */
PyFrame_LocalsToFast(f, 1);
tstate->tracing--;
- Py_Cleanup:
+ cleanup:
Py_XDECREF(args);
if (res == NULL) {
/* The trace proc raised an exception */