summaryrefslogtreecommitdiff
path: root/Modules/clinic/arraymodule.c.h
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-07-07 18:20:03 +0300
committerSerhiy Storchaka <storchaka@gmail.com>2016-07-07 18:20:03 +0300
commite8525693071b9965161d6664cc149d9cf2b99054 (patch)
tree5450f6e82f3204ae4cd9578ebb56dd3d64ea4674 /Modules/clinic/arraymodule.c.h
parent5f9430dff2e62173364aafee59424e6d2f39d093 (diff)
parentee021560b19d20eeea7c66c30003973f21381cdb (diff)
downloadcpython-e8525693071b9965161d6664cc149d9cf2b99054.tar.gz
- Issue #27332: Fixed the type of the first argument of module-level functions
generated by Argument Clinic. Patch by Petr Viktorin.
Diffstat (limited to 'Modules/clinic/arraymodule.c.h')
-rw-r--r--Modules/clinic/arraymodule.c.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/clinic/arraymodule.c.h b/Modules/clinic/arraymodule.c.h
index ced17aaf88..3b9fcdab0a 100644
--- a/Modules/clinic/arraymodule.c.h
+++ b/Modules/clinic/arraymodule.c.h
@@ -446,13 +446,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;
@@ -505,4 +505,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=0b99c89275eda265 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=b2054fb764c8cc64 input=a9049054013a1b77]*/