Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f9c90c5

Browse files
committed
Renamed a local label that was accidentally grandly renamed to
'Py_Cleanup' back to 'cleanup'.
1 parent fbbd57e commit f9c90c5

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Python/ceval.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2139,10 +2139,10 @@ call_trace(p_trace, p_newtrace, f, msg, arg)
21392139

21402140
args = PyTuple_New(3);
21412141
if (args == NULL)
2142-
goto Py_Cleanup;
2142+
goto cleanup;
21432143
what = PyString_FromString(msg);
21442144
if (what == NULL)
2145-
goto Py_Cleanup;
2145+
goto cleanup;
21462146
Py_INCREF(f);
21472147
PyTuple_SET_ITEM(args, 0, (PyObject *)f);
21482148
PyTuple_SET_ITEM(args, 1, what);
@@ -2155,7 +2155,7 @@ call_trace(p_trace, p_newtrace, f, msg, arg)
21552155
res = PyEval_CallObject(*p_trace, args); /* May clear *p_trace! */
21562156
PyFrame_LocalsToFast(f, 1);
21572157
tstate->tracing--;
2158-
Py_Cleanup:
2158+
cleanup:
21592159
Py_XDECREF(args);
21602160
if (res == NULL) {
21612161
/* The trace proc raised an exception */

0 commit comments

Comments
 (0)