summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
Diffstat (limited to 'Objects')
-rw-r--r--Objects/abstract.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Objects/abstract.c b/Objects/abstract.c
index 682263d..4b32fed 100644
--- a/Objects/abstract.c
+++ b/Objects/abstract.c
@@ -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;