_PyObject_FastCallDict(): avoid _Py_CheckFunctionResult()
_PyObject_FastCallDict() only requires _Py_CheckFunctionResult() for the slow-path. Other cases already check for the result.
This commit is contained in:
parent
577e1f8cb4
commit
53cb489ed0
|
@ -2299,9 +2299,9 @@ _PyObject_FastCallDict(PyObject *func, PyObject **args, Py_ssize_t nargs,
|
|||
|
||||
result = (*call)(func, tuple, kwargs);
|
||||
Py_DECREF(tuple);
|
||||
}
|
||||
|
||||
result = _Py_CheckFunctionResult(func, result, NULL);
|
||||
result = _Py_CheckFunctionResult(func, result, NULL);
|
||||
}
|
||||
|
||||
exit:
|
||||
Py_LeaveRecursiveCall();
|
||||
|
|
Loading…
Reference in New Issue