mirror of https://github.com/python/cpython
Issue #19437: Fix PyObject_CallFunction(), handle Py_VaBuildValue() and
PyTuple_New() failure
This commit is contained in:
parent
f38a5c28e0
commit
0b0c867178
|
@ -2144,6 +2144,8 @@ PyObject_CallFunction(PyObject *callable, const char *format, ...)
|
|||
}
|
||||
else
|
||||
args = PyTuple_New(0);
|
||||
if (args == NULL)
|
||||
return NULL;
|
||||
|
||||
return call_function_tail(callable, args);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue