diff options
| author | INADA Naoki <songofacandy@gmail.com> | 2017-02-03 07:43:03 +0900 |
|---|---|---|
| committer | INADA Naoki <songofacandy@gmail.com> | 2017-02-03 07:43:03 +0900 |
| commit | 5566bbb8d563646d83e8172410fa0c085e8233b1 (patch) | |
| tree | cb8ca83c2b1a6eb01a6b51258532b4fccf548b6d /Include/methodobject.h | |
| parent | 144fff8b900f9d452402a8e47ff79e88e4916d28 (diff) | |
| download | cpython-git-5566bbb8d563646d83e8172410fa0c085e8233b1.tar.gz | |
Issue #29263: LOAD_METHOD support for C methods
Calling builtin method is at most 10% faster.
Diffstat (limited to 'Include/methodobject.h')
| -rw-r--r-- | Include/methodobject.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Include/methodobject.h b/Include/methodobject.h index 7370419c39..b5c4e83730 100644 --- a/Include/methodobject.h +++ b/Include/methodobject.h @@ -102,6 +102,13 @@ PyAPI_FUNC(PyObject *) _PyMethodDef_RawFastCallDict( PyObject **args, Py_ssize_t nargs, PyObject *kwargs); + +PyAPI_FUNC(PyObject *) _PyMethodDef_RawFastCallKeywords( + PyMethodDef *method, + PyObject *self, + PyObject **args, + Py_ssize_t nargs, + PyObject *kwnames); #endif PyAPI_FUNC(int) PyCFunction_ClearFreeList(void); |
