summaryrefslogtreecommitdiffstats
path: root/Include/cpython
diff options
context:
space:
mode:
authorJeroen Demeyer <J.Demeyer@UGent.be>2019-06-14 10:37:15 (GMT)
committerInada Naoki <songofacandy@gmail.com>2019-06-14 10:37:15 (GMT)
commitb2f94730d947f25b8507c5f76202e917683e76f7 (patch)
tree893ba5034d461a8a1eae24fe95e29ffa5711c6cb /Include/cpython
parent05f831865545b08c9a21cfb7773af58b76ec64cb (diff)
downloadcpython-b2f94730d947f25b8507c5f76202e917683e76f7.zip
cpython-b2f94730d947f25b8507c5f76202e917683e76f7.tar.gz
cpython-b2f94730d947f25b8507c5f76202e917683e76f7.tar.bz2
bpo-37249: add declaration of _PyObject_GetMethod (GH-14015)
Diffstat (limited to 'Include/cpython')
-rw-r--r--Include/cpython/object.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Include/cpython/object.h b/Include/cpython/object.h
index a65aaf6..fd4e771 100644
--- a/Include/cpython/object.h
+++ b/Include/cpython/object.h
@@ -318,6 +318,9 @@ PyAPI_FUNC(int) _PyObject_HasAttrId(PyObject *, struct _Py_Identifier *);
*/
PyAPI_FUNC(int) _PyObject_LookupAttr(PyObject *, PyObject *, PyObject **);
PyAPI_FUNC(int) _PyObject_LookupAttrId(PyObject *, struct _Py_Identifier *, PyObject **);
+
+PyAPI_FUNC(int) _PyObject_GetMethod(PyObject *obj, PyObject *name, PyObject **method);
+
PyAPI_FUNC(PyObject **) _PyObject_GetDictPtr(PyObject *);
PyAPI_FUNC(PyObject *) _PyObject_NextNotImplemented(PyObject *);
PyAPI_FUNC(void) PyObject_CallFinalizer(PyObject *);