diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-07-07 17:35:15 +0300 |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-07-07 17:35:15 +0300 |
commit | 1a2b24f02dfd4eb3383f6ae2b59e5a4eb66fd5bb (patch) | |
tree | d0bac08478e97df6c9f949e0f9622a67d4d15d96 /Modules/_cryptmodule.c | |
parent | b8a2f51ceb636878ec767554eddbb11ff4502c55 (diff) | |
download | cpython-git-1a2b24f02dfd4eb3383f6ae2b59e5a4eb66fd5bb.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/_cryptmodule.c')
-rw-r--r-- | Modules/_cryptmodule.c | 4 |
1 files changed, 2 insertions, 2 deletions
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? */ |