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. --- Modules/clinic/sha1module.c.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Modules/clinic/sha1module.c.h') diff --git a/Modules/clinic/sha1module.c.h b/Modules/clinic/sha1module.c.h index b08e92d099..af4854079a 100644 --- a/Modules/clinic/sha1module.c.h +++ b/Modules/clinic/sha1module.c.h @@ -85,7 +85,7 @@ _sha1_sha1(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwname static _PyArg_Parser _parser = {"|O:sha1", _keywords, 0}; PyObject *string = NULL; - if (!_PyArg_ParseStack(args, nargs, kwnames, &_parser, + if (!_PyArg_ParseStackAndKeywords(args, nargs, kwnames, &_parser, &string)) { 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. --- Modules/clinic/sha1module.c.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Modules/clinic/sha1module.c.h') diff --git a/Modules/clinic/sha1module.c.h b/Modules/clinic/sha1module.c.h index af4854079a..e2f5ac16a3 100644 --- a/Modules/clinic/sha1module.c.h +++ b/Modules/clinic/sha1module.c.h @@ -94,4 +94,4 @@ _sha1_sha1(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwname exit: return return_value; } -/*[clinic end generated code: output=1430450f3f806895 input=a9049054013a1b77]*/ +/*[clinic end generated code: output=8e6b04c7e0407be2 input=a9049054013a1b77]*/ -- cgit v1.2.1