From 271403abe36069797ac332e1c6eae3473878db20 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Tue, 17 Jan 2017 01:29:01 +0100 Subject: Rename _PyArg_ParseStack to _PyArg_ParseStackAndKeywords Issue #29286. --- PC/clinic/_testconsole.c.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'PC/clinic/_testconsole.c.h') diff --git a/PC/clinic/_testconsole.c.h b/PC/clinic/_testconsole.c.h index 93860cf5b2..2774616fb1 100644 --- a/PC/clinic/_testconsole.c.h +++ b/PC/clinic/_testconsole.c.h @@ -26,7 +26,7 @@ _testconsole_write_input(PyObject *module, PyObject **args, Py_ssize_t nargs, Py PyObject *file; PyBytesObject *s; - if (!_PyArg_ParseStack(args, nargs, kwnames, &_parser, + if (!_PyArg_ParseStackAndKeywords(args, nargs, kwnames, &_parser, &file, &s)) { goto exit; } @@ -60,7 +60,7 @@ _testconsole_read_output(PyObject *module, PyObject **args, Py_ssize_t nargs, Py static _PyArg_Parser _parser = {"O:read_output", _keywords, 0}; PyObject *file; - if (!_PyArg_ParseStack(args, nargs, kwnames, &_parser, + if (!_PyArg_ParseStackAndKeywords(args, nargs, kwnames, &_parser, &file)) { goto exit; } -- cgit v1.2.1 From 7372e18fa83aa35766f8f6fdf3aed27fac2d52d2 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Tue, 17 Jan 2017 01:35:17 +0100 Subject: Run Argument Clinic: METH_VARARGS=>METH_FASTCALL Issue #29286. Run Argument Clinic to get the new faster METH_FASTCALL calling convention for functions using only positional arguments. --- PC/clinic/_testconsole.c.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'PC/clinic/_testconsole.c.h') diff --git a/PC/clinic/_testconsole.c.h b/PC/clinic/_testconsole.c.h index 2774616fb1..2baf2baa26 100644 --- a/PC/clinic/_testconsole.c.h +++ b/PC/clinic/_testconsole.c.h @@ -79,4 +79,4 @@ exit: #ifndef _TESTCONSOLE_READ_OUTPUT_METHODDEF #define _TESTCONSOLE_READ_OUTPUT_METHODDEF #endif /* !defined(_TESTCONSOLE_READ_OUTPUT_METHODDEF) */ -/*[clinic end generated code: output=3a8dc0c421807c41 input=a9049054013a1b77]*/ +/*[clinic end generated code: output=30d2a80143b65e6f input=a9049054013a1b77]*/ -- cgit v1.2.1