diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2017-01-17 00:29:01 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2017-01-17 00:29:01 (GMT) |
commit | 3e1fad6913689f1cbb08657ee5f65439a4639303 (patch) | |
tree | 45f7051516a63cca0cfd39ad8b70f0830dc9f3a4 /Modules/clinic/grpmodule.c.h | |
parent | c0083fc47d7a03e2116036af2c3b33ad3d9583f6 (diff) | |
download | cpython-3e1fad6913689f1cbb08657ee5f65439a4639303.zip cpython-3e1fad6913689f1cbb08657ee5f65439a4639303.tar.gz cpython-3e1fad6913689f1cbb08657ee5f65439a4639303.tar.bz2 |
Rename _PyArg_ParseStack to _PyArg_ParseStackAndKeywords
Issue #29286.
Diffstat (limited to 'Modules/clinic/grpmodule.c.h')
-rw-r--r-- | Modules/clinic/grpmodule.c.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/clinic/grpmodule.c.h b/Modules/clinic/grpmodule.c.h index 0282b4e..d774d88 100644 --- a/Modules/clinic/grpmodule.c.h +++ b/Modules/clinic/grpmodule.c.h @@ -24,7 +24,7 @@ grp_getgrgid(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwna static _PyArg_Parser _parser = {"O:getgrgid", _keywords, 0}; PyObject *id; - if (!_PyArg_ParseStack(args, nargs, kwnames, &_parser, + if (!_PyArg_ParseStackAndKeywords(args, nargs, kwnames, &_parser, &id)) { goto exit; } @@ -56,7 +56,7 @@ grp_getgrnam(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwna static _PyArg_Parser _parser = {"U:getgrnam", _keywords, 0}; PyObject *name; - if (!_PyArg_ParseStack(args, nargs, kwnames, &_parser, + if (!_PyArg_ParseStackAndKeywords(args, nargs, kwnames, &_parser, &name)) { goto exit; } |