diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-08-19 15:12:23 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-08-19 15:12:23 (GMT) |
commit | 8a31c820930536ffe3b44d99252ba9f3bb98ce58 (patch) | |
tree | d5952e59fdcb67329576d4ce63b258e844716546 /Include | |
parent | 0d1a799343dd956c8e4a1d6e0ac3fa9ac007704e (diff) | |
download | cpython-8a31c820930536ffe3b44d99252ba9f3bb98ce58.zip cpython-8a31c820930536ffe3b44d99252ba9f3bb98ce58.tar.gz cpython-8a31c820930536ffe3b44d99252ba9f3bb98ce58.tar.bz2 |
Fix PyObject_Call() parameter names
Issue #27128: arg=>args, kw=>kwargs.
Same change for PyEval_CallObjectWithKeywords().
Diffstat (limited to 'Include')
-rw-r--r-- | Include/abstract.h | 2 | ||||
-rw-r--r-- | Include/ceval.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Include/abstract.h b/Include/abstract.h index 280402c..f67c6b2 100644 --- a/Include/abstract.h +++ b/Include/abstract.h @@ -264,7 +264,7 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/ */ PyAPI_FUNC(PyObject *) PyObject_Call(PyObject *callable_object, - PyObject *args, PyObject *kw); + PyObject *args, PyObject *kwargs); #ifndef Py_LIMITED_API PyAPI_FUNC(PyObject*) _PyStack_AsTuple(PyObject **stack, diff --git a/Include/ceval.h b/Include/ceval.h index d194044..73b4ca6 100644 --- a/Include/ceval.h +++ b/Include/ceval.h @@ -8,7 +8,7 @@ extern "C" { /* Interface to random parts in ceval.c */ PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords( - PyObject *, PyObject *, PyObject *); + PyObject *func, PyObject *args, PyObject *kwargs); /* Inline this */ #define PyEval_CallObject(func,arg) \ |