diff options
author | Jeroen Demeyer <J.Demeyer@UGent.be> | 2019-06-20 15:38:46 (GMT) |
---|---|---|
committer | Inada Naoki <songofacandy@gmail.com> | 2019-06-20 15:38:45 (GMT) |
commit | 7e1a9aacff95c68d284f31666fe293fa2db5406d (patch) | |
tree | 69fd6366a3bb66c886d4ebcab44aea99c9207920 /Objects/call.c | |
parent | 8713aa6dfb2a17d6de91943ef1eb0ddba58f5b4a (diff) | |
download | cpython-7e1a9aacff95c68d284f31666fe293fa2db5406d.zip cpython-7e1a9aacff95c68d284f31666fe293fa2db5406d.tar.gz cpython-7e1a9aacff95c68d284f31666fe293fa2db5406d.tar.bz2 |
bpo-37151: remove _PyCFunction_FastCallDict (GH-14269)
Diffstat (limited to 'Objects/call.c')
-rw-r--r-- | Objects/call.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/Objects/call.c b/Objects/call.c index 75dbd6f..8a1ce7f 100644 --- a/Objects/call.c +++ b/Objects/call.c @@ -496,24 +496,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, PyObject *kwnames) |