diff options
Diffstat (limited to 'Include')
-rw-r--r-- | Include/abstract.h | 4 | ||||
-rw-r--r-- | Include/modsupport.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Include/abstract.h b/Include/abstract.h index d96e8a5..43bf251 100644 --- a/Include/abstract.h +++ b/Include/abstract.h @@ -171,7 +171,7 @@ PyAPI_FUNC(PyObject*) _PyStack_AsTupleSlice( kwnames must only contains str strings, no subclass, and all keys must be unique. kwnames is not checked, usually these checks are done before or - later calling _PyStack_AsDict(). For example, _PyArg_ParseStack() raises an + later calling _PyStack_AsDict(). For example, _PyArg_ParseStackAndKeywords() raises an error if a key is not a string. */ PyAPI_FUNC(PyObject *) _PyStack_AsDict( PyObject **values, @@ -185,7 +185,7 @@ PyAPI_FUNC(PyObject *) _PyStack_AsDict( The stack uses borrowed references. The type of keyword keys is not checked, these checks should be done - later (ex: _PyArg_ParseStack). */ + later (ex: _PyArg_ParseStackAndKeywords). */ PyAPI_FUNC(PyObject **) _PyStack_UnpackDict( PyObject **args, Py_ssize_t nargs, diff --git a/Include/modsupport.h b/Include/modsupport.h index 8306ae7..188f0b1 100644 --- a/Include/modsupport.h +++ b/Include/modsupport.h @@ -79,12 +79,12 @@ typedef struct _PyArg_Parser { } _PyArg_Parser; #ifdef PY_SSIZE_T_CLEAN #define _PyArg_ParseTupleAndKeywordsFast _PyArg_ParseTupleAndKeywordsFast_SizeT -#define _PyArg_ParseStack _PyArg_ParseStack_SizeT +#define _PyArg_ParseStackAndKeywords _PyArg_ParseStackAndKeywords_SizeT #define _PyArg_VaParseTupleAndKeywordsFast _PyArg_VaParseTupleAndKeywordsFast_SizeT #endif PyAPI_FUNC(int) _PyArg_ParseTupleAndKeywordsFast(PyObject *, PyObject *, struct _PyArg_Parser *, ...); -PyAPI_FUNC(int) _PyArg_ParseStack(PyObject **args, Py_ssize_t nargs, PyObject *kwnames, +PyAPI_FUNC(int) _PyArg_ParseStackAndKeywords(PyObject **args, Py_ssize_t nargs, PyObject *kwnames, struct _PyArg_Parser *, ...); PyAPI_FUNC(int) _PyArg_VaParseTupleAndKeywordsFast(PyObject *, PyObject *, struct _PyArg_Parser *, va_list); |