bpo-37249: add declaration of _PyObject_GetMethod (GH-14015)

This commit is contained in:
Jeroen Demeyer 2019-06-14 12:37:15 +02:00 committed by Inada Naoki
parent 05f8318655
commit b2f94730d9
3 changed files with 3 additions and 7 deletions

View file

@ -1211,9 +1211,6 @@ object_vacall(PyObject *base, PyObject *callable, va_list vargs)
}
/* Private API for the LOAD_METHOD opcode. */
extern int _PyObject_GetMethod(PyObject *, PyObject *, PyObject **);
PyObject *
PyObject_CallMethodObjArgs(PyObject *obj, PyObject *name, ...)
{