From 1a2b24f02dfd4eb3383f6ae2b59e5a4eb66fd5bb Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Thu, 7 Jul 2016 17:35:15 +0300 Subject: Issue #27332: Fixed the type of the first argument of module-level functions generated by Argument Clinic. Patch by Petr Viktorin. --- Modules/arraymodule.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Modules/arraymodule.c') diff --git a/Modules/arraymodule.c b/Modules/arraymodule.c index 28031770a5..b9f87aeea3 100644 --- a/Modules/arraymodule.c +++ b/Modules/arraymodule.c @@ -1938,11 +1938,11 @@ Internal. Used for pickling support. [clinic start generated code]*/ static PyObject * -array__array_reconstructor_impl(PyModuleDef *module, PyTypeObject *arraytype, +array__array_reconstructor_impl(PyObject *module, PyTypeObject *arraytype, int typecode, enum machine_format_code mformat_code, PyObject *items) -/*[clinic end generated code: output=6ecbf0e8e4d92ab9 input=2464dc8f4c7736b5]*/ +/*[clinic end generated code: output=e05263141ba28365 input=2464dc8f4c7736b5]*/ { PyObject *converted_items; PyObject *result; -- cgit v1.2.1