diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-08-22 21:15:44 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-08-22 21:15:44 (GMT) |
commit | b9009391868f739f4ddf09fa04061f6af05228b3 (patch) | |
tree | 984b506935ee9ce653cc7dd1268934e412639dac /Include | |
parent | 559bb6a71399af3b1b2a0ba97230d2bcc649e993 (diff) | |
download | cpython-b9009391868f739f4ddf09fa04061f6af05228b3.zip cpython-b9009391868f739f4ddf09fa04061f6af05228b3.tar.gz cpython-b9009391868f739f4ddf09fa04061f6af05228b3.tar.bz2 |
_PyFunction_FastCallDict() supports keyword args
Issue #27809:
* Rename _PyFunction_FastCall() to _PyFunction_FastCallDict()
* Rename _PyCFunction_FastCall() to _PyCFunction_FastCallDict()
* _PyFunction_FastCallDict() now supports keyword arguments
Diffstat (limited to 'Include')
-rw-r--r-- | Include/funcobject.h | 2 | ||||
-rw-r--r-- | Include/methodobject.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Include/funcobject.h b/Include/funcobject.h index 908944d..24602e6 100644 --- a/Include/funcobject.h +++ b/Include/funcobject.h @@ -59,7 +59,7 @@ PyAPI_FUNC(PyObject *) PyFunction_GetAnnotations(PyObject *); PyAPI_FUNC(int) PyFunction_SetAnnotations(PyObject *, PyObject *); #ifndef Py_LIMITED_API -PyAPI_FUNC(PyObject *) _PyFunction_FastCall( +PyAPI_FUNC(PyObject *) _PyFunction_FastCallDict( PyObject *func, PyObject **args, int nargs, PyObject *kwargs); diff --git a/Include/methodobject.h b/Include/methodobject.h index 8dec00a..107a650 100644 --- a/Include/methodobject.h +++ b/Include/methodobject.h @@ -38,7 +38,7 @@ PyAPI_FUNC(int) PyCFunction_GetFlags(PyObject *); PyAPI_FUNC(PyObject *) PyCFunction_Call(PyObject *, PyObject *, PyObject *); #ifndef Py_LIMITED_API -PyAPI_FUNC(PyObject *) _PyCFunction_FastCall(PyObject *func, +PyAPI_FUNC(PyObject *) _PyCFunction_FastCallDict(PyObject *func, PyObject **args, int nargs, PyObject *kwargs); #endif |