summaryrefslogtreecommitdiff
path: root/Include/methodobject.h
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2017-01-29 10:16:28 +0000
committerMartin Panter <vadmium+py@gmail.com>2017-01-29 10:16:28 +0000
commit23352add84278fc0476b2d6599489fbb70c9f5bc (patch)
tree600bf5132e46d31b69efbd3bbc8a3d37159c0744 /Include/methodobject.h
parent6d1d733828b49eb03d45da81c6b8c6b849fbc5df (diff)
parent0fb1e3c9fc84c62a91f1e5889dc8e0855cefa4ae (diff)
downloadcpython-23352add84278fc0476b2d6599489fbb70c9f5bc.tar.gz
Issues #29349: Merge Py 2 fix 3.6
Diffstat (limited to 'Include/methodobject.h')
-rw-r--r--Include/methodobject.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Include/methodobject.h b/Include/methodobject.h
index 79fad8235c..7370419c39 100644
--- a/Include/methodobject.h
+++ b/Include/methodobject.h
@@ -95,6 +95,13 @@ typedef struct {
PyObject *m_module; /* The __module__ attribute, can be anything */
PyObject *m_weakreflist; /* List of weak references */
} PyCFunctionObject;
+
+PyAPI_FUNC(PyObject *) _PyMethodDef_RawFastCallDict(
+ PyMethodDef *method,
+ PyObject *self,
+ PyObject **args,
+ Py_ssize_t nargs,
+ PyObject *kwargs);
#endif
PyAPI_FUNC(int) PyCFunction_ClearFreeList(void);