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/clinic/arraymodule.c.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Modules/clinic/arraymodule.c.h') diff --git a/Modules/clinic/arraymodule.c.h b/Modules/clinic/arraymodule.c.h index fdf247e2ca..0c7061a1d2 100644 --- a/Modules/clinic/arraymodule.c.h +++ b/Modules/clinic/arraymodule.c.h @@ -438,13 +438,13 @@ PyDoc_STRVAR(array__array_reconstructor__doc__, {"_array_reconstructor", (PyCFunction)array__array_reconstructor, METH_VARARGS, array__array_reconstructor__doc__}, 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); static PyObject * -array__array_reconstructor(PyModuleDef *module, PyObject *args) +array__array_reconstructor(PyObject *module, PyObject *args) { PyObject *return_value = NULL; PyTypeObject *arraytype; @@ -496,4 +496,4 @@ PyDoc_STRVAR(array_arrayiterator___setstate____doc__, #define ARRAY_ARRAYITERATOR___SETSTATE___METHODDEF \ {"__setstate__", (PyCFunction)array_arrayiterator___setstate__, METH_O, array_arrayiterator___setstate____doc__}, -/*[clinic end generated code: output=d2e82c65ea841cfc input=a9049054013a1b77]*/ +/*[clinic end generated code: output=305df3f5796039e4 input=a9049054013a1b77]*/ -- cgit v1.2.1