Skip to content

Commit 5f757fa

Browse files
committed
Fix three accidental changes
1 parent 4545ddc commit 5f757fa

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Python/bytecodes.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3176,7 +3176,7 @@ dummy_func(
31763176
goto error;
31773177
}
31783178
PyObject *arg = TOP();
3179-
PyObject *res = cfunc(PyCFunction_GET_SELF(callable), arg);
3179+
PyObject *res = _PyCFunction_TrampolineCall(cfunc, PyCFunction_GET_SELF(callable), arg);
31803180
_Py_LeaveRecursiveCallTstate(tstate);
31813181
assert((res != NULL) ^ (_PyErr_Occurred(tstate) != NULL));
31823182

@@ -3377,7 +3377,7 @@ dummy_func(
33773377
if (_Py_EnterRecursiveCallTstate(tstate, " while calling a Python object")) {
33783378
goto error;
33793379
}
3380-
PyObject *res = cfunc(self, arg);
3380+
PyObject *res = _PyCFunction_TrampolineCall(cfunc, self, arg);
33813381
_Py_LeaveRecursiveCallTstate(tstate);
33823382
assert((res != NULL) ^ (_PyErr_Occurred(tstate) != NULL));
33833383
Py_DECREF(self);
@@ -3449,7 +3449,7 @@ dummy_func(
34493449
if (_Py_EnterRecursiveCallTstate(tstate, " while calling a Python object")) {
34503450
goto error;
34513451
}
3452-
PyObject *res = cfunc(self, NULL);
3452+
PyObject *res = _PyCFunction_TrampolineCall(cfunc, self, NULL);
34533453
_Py_LeaveRecursiveCallTstate(tstate);
34543454
assert((res != NULL) ^ (_PyErr_Occurred(tstate) != NULL));
34553455
Py_DECREF(self);

Python/generated_cases.c.h

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)