summaryrefslogtreecommitdiffstats
path: root/Modules/clinic/sha256module.c.h
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-07-07 15:20:03 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-07-07 15:20:03 (GMT)
commit2954f8399914c77e048f9e3358abfadb7a3f76e9 (patch)
treec8398eb8aa516e897bbafe9e43cb115d0365bcb0 /Modules/clinic/sha256module.c.h
parent50600a78cb6b0e4ea47033a2fd5e982c20a5d946 (diff)
parent1a2b24f02dfd4eb3383f6ae2b59e5a4eb66fd5bb (diff)
downloadcpython-2954f8399914c77e048f9e3358abfadb7a3f76e9.zip
cpython-2954f8399914c77e048f9e3358abfadb7a3f76e9.tar.gz
cpython-2954f8399914c77e048f9e3358abfadb7a3f76e9.tar.bz2
- 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/clinic/sha256module.c.h')
-rw-r--r--Modules/clinic/sha256module.c.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/Modules/clinic/sha256module.c.h b/Modules/clinic/sha256module.c.h
index c429800..483109f 100644
--- a/Modules/clinic/sha256module.c.h
+++ b/Modules/clinic/sha256module.c.h
@@ -75,10 +75,10 @@ PyDoc_STRVAR(_sha256_sha256__doc__,
{"sha256", (PyCFunction)_sha256_sha256, METH_VARARGS|METH_KEYWORDS, _sha256_sha256__doc__},
static PyObject *
-_sha256_sha256_impl(PyModuleDef *module, PyObject *string);
+_sha256_sha256_impl(PyObject *module, PyObject *string);
static PyObject *
-_sha256_sha256(PyModuleDef *module, PyObject *args, PyObject *kwargs)
+_sha256_sha256(PyObject *module, PyObject *args, PyObject *kwargs)
{
PyObject *return_value = NULL;
static char *_keywords[] = {"string", NULL};
@@ -104,10 +104,10 @@ PyDoc_STRVAR(_sha256_sha224__doc__,
{"sha224", (PyCFunction)_sha256_sha224, METH_VARARGS|METH_KEYWORDS, _sha256_sha224__doc__},
static PyObject *
-_sha256_sha224_impl(PyModuleDef *module, PyObject *string);
+_sha256_sha224_impl(PyObject *module, PyObject *string);
static PyObject *
-_sha256_sha224(PyModuleDef *module, PyObject *args, PyObject *kwargs)
+_sha256_sha224(PyObject *module, PyObject *args, PyObject *kwargs)
{
PyObject *return_value = NULL;
static char *_keywords[] = {"string", NULL};
@@ -122,4 +122,4 @@ _sha256_sha224(PyModuleDef *module, PyObject *args, PyObject *kwargs)
exit:
return return_value;
}
-/*[clinic end generated code: output=e85cc4a223371d84 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=a41a21c08fcddd70 input=a9049054013a1b77]*/