mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
bpo-37151: remove _PyCFunction_FastCallDict (GH-14269)
This commit is contained in:
parent
8713aa6dfb
commit
7e1a9aacff
4 changed files with 5 additions and 29 deletions
|
|
@ -495,24 +495,6 @@ exit:
|
|||
}
|
||||
|
||||
|
||||
PyObject *
|
||||
_PyCFunction_FastCallDict(PyObject *func,
|
||||
PyObject *const *args, Py_ssize_t nargs,
|
||||
PyObject *kwargs)
|
||||
{
|
||||
PyObject *result;
|
||||
|
||||
assert(func != NULL);
|
||||
assert(PyCFunction_Check(func));
|
||||
|
||||
result = _PyMethodDef_RawFastCallDict(((PyCFunctionObject*)func)->m_ml,
|
||||
PyCFunction_GET_SELF(func),
|
||||
args, nargs, kwargs);
|
||||
result = _Py_CheckFunctionResult(func, result, NULL);
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
PyObject *
|
||||
_PyMethodDef_RawFastCallKeywords(PyMethodDef *method, PyObject *self,
|
||||
PyObject *const *args, Py_ssize_t nargs,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue