diff options
| author | Victor Stinner <victor.stinner@gmail.com> | 2017-01-17 01:29:01 +0100 |
|---|---|---|
| committer | Victor Stinner <victor.stinner@gmail.com> | 2017-01-17 01:29:01 +0100 |
| commit | 3e1fad6913689f1cbb08657ee5f65439a4639303 (patch) | |
| tree | 45f7051516a63cca0cfd39ad8b70f0830dc9f3a4 /Modules/clinic/sha512module.c.h | |
| parent | c0083fc47d7a03e2116036af2c3b33ad3d9583f6 (diff) | |
| download | cpython-git-3e1fad6913689f1cbb08657ee5f65439a4639303.tar.gz | |
Rename _PyArg_ParseStack to _PyArg_ParseStackAndKeywords
Issue #29286.
Diffstat (limited to 'Modules/clinic/sha512module.c.h')
| -rw-r--r-- | Modules/clinic/sha512module.c.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/clinic/sha512module.c.h b/Modules/clinic/sha512module.c.h index a2b57f71b5..d1c4f0434e 100644 --- a/Modules/clinic/sha512module.c.h +++ b/Modules/clinic/sha512module.c.h @@ -85,7 +85,7 @@ _sha512_sha512(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kw static _PyArg_Parser _parser = {"|O:sha512", _keywords, 0}; PyObject *string = NULL; - if (!_PyArg_ParseStack(args, nargs, kwnames, &_parser, + if (!_PyArg_ParseStackAndKeywords(args, nargs, kwnames, &_parser, &string)) { goto exit; } @@ -115,7 +115,7 @@ _sha512_sha384(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kw static _PyArg_Parser _parser = {"|O:sha384", _keywords, 0}; PyObject *string = NULL; - if (!_PyArg_ParseStack(args, nargs, kwnames, &_parser, + if (!_PyArg_ParseStackAndKeywords(args, nargs, kwnames, &_parser, &string)) { goto exit; } |
