_PyObject_FastCallDict(): avoid _Py_CheckFunctionResult()
_PyObject_FastCallDict() only requires _Py_CheckFunctionResult() for the
slow-path. Other cases already check for the result.
diff --git a/Objects/abstract.c b/Objects/abstract.c
index d271d94..db9f926 100644
--- a/Objects/abstract.c
+++ b/Objects/abstract.c
@@ -2299,9 +2299,9 @@
result = (*call)(func, tuple, kwargs);
Py_DECREF(tuple);
- }
- result = _Py_CheckFunctionResult(func, result, NULL);
+ result = _Py_CheckFunctionResult(func, result, NULL);
+ }
exit:
Py_LeaveRecursiveCall();