summaryrefslogtreecommitdiffstats
path: root/Python
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 /Python
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 'Python')
-rw-r--r--Python/ceval.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index bb0416f..60367a6 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -38,10 +38,6 @@
# error "ceval.c must be build with Py_BUILD_CORE define for best performance"
#endif
-/* Private API for the LOAD_METHOD opcode. */
-extern int _PyObject_GetMethod(PyObject *, PyObject *, PyObject **);
-
-typedef PyObject *(*callproc)(PyObject *, PyObject *, PyObject *);
/* Forward declarations */
Py_LOCAL_INLINE(PyObject *) call_function(