summaryrefslogtreecommitdiff
path: root/Modules/arraymodule.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-07-07 17:35:15 +0300
committerSerhiy Storchaka <storchaka@gmail.com>2016-07-07 17:35:15 +0300
commitee021560b19d20eeea7c66c30003973f21381cdb (patch)
treef06b960b4f4d8a07f397e86184c7f35c900e2250 /Modules/arraymodule.c
parentc371fcb5c4a8938064ec5d2b8e618ccc1c351f16 (diff)
downloadcpython-ee021560b19d20eeea7c66c30003973f21381cdb.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/arraymodule.c')
-rw-r--r--Modules/arraymodule.c4
1 files changed, 2 insertions, 2 deletions
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;