summaryrefslogtreecommitdiffstats
path: root/Modules/_io
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 /Modules/_io
parentc0083fc47d7a03e2116036af2c3b33ad3d9583f6 (diff)
downloadcpython-3e1fad6913689f1cbb08657ee5f65439a4639303.zip
cpython-3e1fad6913689f1cbb08657ee5f65439a4639303.tar.gz
cpython-3e1fad6913689f1cbb08657ee5f65439a4639303.tar.bz2
Rename _PyArg_ParseStack to _PyArg_ParseStackAndKeywords
Issue #29286.
Diffstat (limited to 'Modules/_io')
-rw-r--r--Modules/_io/clinic/_iomodule.c.h2
-rw-r--r--Modules/_io/clinic/textio.c.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_io/clinic/_iomodule.c.h b/Modules/_io/clinic/_iomodule.c.h
index f2e91a9..e60562c 100644
--- a/Modules/_io/clinic/_iomodule.c.h
+++ b/Modules/_io/clinic/_iomodule.c.h
@@ -149,7 +149,7 @@ _io_open(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames)
int closefd = 1;
PyObject *opener = Py_None;
- if (!_PyArg_ParseStack(args, nargs, kwnames, &_parser,
+ if (!_PyArg_ParseStackAndKeywords(args, nargs, kwnames, &_parser,
&file, &mode, &buffering, &encoding, &errors, &newline, &closefd, &opener)) {
goto exit;
}
diff --git a/Modules/_io/clinic/textio.c.h b/Modules/_io/clinic/textio.c.h
index f39c355..96696c3 100644
--- a/Modules/_io/clinic/textio.c.h
+++ b/Modules/_io/clinic/textio.c.h
@@ -61,7 +61,7 @@ _io_IncrementalNewlineDecoder_decode(nldecoder_object *self, PyObject **args, Py
PyObject *input;
int final = 0;
- if (!_PyArg_ParseStack(args, nargs, kwnames, &_parser,
+ if (!_PyArg_ParseStackAndKeywords(args, nargs, kwnames, &_parser,
&input, &final)) {
goto exit;
}