summaryrefslogtreecommitdiffstats
path: root/Include/modsupport.h
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-01-17 00:29:01 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2017-01-17 00:29:01 (GMT)
commit3e1fad6913689f1cbb08657ee5f65439a4639303 (patch)
tree45f7051516a63cca0cfd39ad8b70f0830dc9f3a4 /Include/modsupport.h
parentc0083fc47d7a03e2116036af2c3b33ad3d9583f6 (diff)
downloadcpython-3e1fad6913689f1cbb08657ee5f65439a4639303.zip
cpython-3e1fad6913689f1cbb08657ee5f65439a4639303.tar.gz
cpython-3e1fad6913689f1cbb08657ee5f65439a4639303.tar.bz2
Rename _PyArg_ParseStack to _PyArg_ParseStackAndKeywords
Issue #29286.
Diffstat (limited to 'Include/modsupport.h')
-rw-r--r--Include/modsupport.h4
1 files changed, 2 insertions, 2 deletions
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);