summaryrefslogtreecommitdiff
path: root/Modules/arraymodule.c
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/arraymodule.c
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/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 cac23bf3b9..c785872a5f 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;