summaryrefslogtreecommitdiff
path: root/Modules/sha512module.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
commit1a2b24f02dfd4eb3383f6ae2b59e5a4eb66fd5bb (patch)
treed0bac08478e97df6c9f949e0f9622a67d4d15d96 /Modules/sha512module.c
parentb8a2f51ceb636878ec767554eddbb11ff4502c55 (diff)
downloadcpython-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/sha512module.c')
-rw-r--r--Modules/sha512module.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Modules/sha512module.c b/Modules/sha512module.c
index 76942aa713..f9ff0eaf2d 100644
--- a/Modules/sha512module.c
+++ b/Modules/sha512module.c
@@ -678,8 +678,8 @@ Return a new SHA-512 hash object; optionally initialized with a string.
[clinic start generated code]*/
static PyObject *
-_sha512_sha512_impl(PyModuleDef *module, PyObject *string)
-/*[clinic end generated code: output=da13bc0a94da6de3 input=e69bad9ae9b6a308]*/
+_sha512_sha512_impl(PyObject *module, PyObject *string)
+/*[clinic end generated code: output=8b865a2df73bd387 input=e69bad9ae9b6a308]*/
{
SHAobject *new;
Py_buffer buf;
@@ -718,8 +718,8 @@ Return a new SHA-384 hash object; optionally initialized with a string.
[clinic start generated code]*/
static PyObject *
-_sha512_sha384_impl(PyModuleDef *module, PyObject *string)
-/*[clinic end generated code: output=ac731aea5509174d input=c9327788d4ea4545]*/
+_sha512_sha384_impl(PyObject *module, PyObject *string)
+/*[clinic end generated code: output=ae4b2e26decf81e8 input=c9327788d4ea4545]*/
{
SHAobject *new;
Py_buffer buf;