summaryrefslogtreecommitdiff
path: root/Modules/sha256module.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/sha256module.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/sha256module.c')
-rw-r--r--Modules/sha256module.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Modules/sha256module.c b/Modules/sha256module.c
index 70c2b5b507..8f067f182c 100644
--- a/Modules/sha256module.c
+++ b/Modules/sha256module.c
@@ -607,8 +607,8 @@ Return a new SHA-256 hash object; optionally initialized with a string.
[clinic start generated code]*/
static PyObject *
-_sha256_sha256_impl(PyModuleDef *module, PyObject *string)
-/*[clinic end generated code: output=d70e6e2d97112844 input=09cce3fb855056b2]*/
+_sha256_sha256_impl(PyObject *module, PyObject *string)
+/*[clinic end generated code: output=fa644436dcea5c31 input=09cce3fb855056b2]*/
{
SHAobject *new;
Py_buffer buf;
@@ -647,8 +647,8 @@ Return a new SHA-224 hash object; optionally initialized with a string.
[clinic start generated code]*/
static PyObject *
-_sha256_sha224_impl(PyModuleDef *module, PyObject *string)
-/*[clinic end generated code: output=f2822bf28416b42a input=27a04ba24c353a73]*/
+_sha256_sha224_impl(PyObject *module, PyObject *string)
+/*[clinic end generated code: output=21e3ba22c3404f93 input=27a04ba24c353a73]*/
{
SHAobject *new;
Py_buffer buf;