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/_cryptmodule.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Modules/_cryptmodule.c') diff --git a/Modules/_cryptmodule.c b/Modules/_cryptmodule.c index d422cfdff7..8e4737c7b4 100644 --- a/Modules/_cryptmodule.c +++ b/Modules/_cryptmodule.c @@ -31,8 +31,8 @@ results for a given *word*. [clinic start generated code]*/ static PyObject * -crypt_crypt_impl(PyModuleDef *module, const char *word, const char *salt) -/*[clinic end generated code: output=995ad1e854d83069 input=0e8edec9c364352b]*/ +crypt_crypt_impl(PyObject *module, const char *word, const char *salt) +/*[clinic end generated code: output=0512284a03d2803c input=0e8edec9c364352b]*/ { /* On some platforms (AtheOS) crypt returns NULL for an invalid salt. Return None in that case. XXX Maybe raise an exception? */ -- cgit v1.2.1