mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
_PyObject_FastCallKeywords() now checks the result
Issue ##27830, Issue #29259.
This commit is contained in:
parent
c52572319c
commit
2a1b676d1f
1 changed files with 2 additions and 0 deletions
|
|
@ -2539,6 +2539,8 @@ _PyObject_FastCallKeywords(PyObject *callable, PyObject **stack, Py_ssize_t narg
|
|||
Py_DECREF(argtuple);
|
||||
Py_XDECREF(kwdict);
|
||||
|
||||
result = _Py_CheckFunctionResult(callable, result, NULL);
|
||||
|
||||
exit:
|
||||
Py_LeaveRecursiveCall();
|
||||
return result;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue