summaryrefslogtreecommitdiffstats
path: root/Modules/_gdbmmodule.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-07-07 14:35:15 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-07-07 14:35:15 (GMT)
commit1a2b24f02dfd4eb3383f6ae2b59e5a4eb66fd5bb (patch)
treed0bac08478e97df6c9f949e0f9622a67d4d15d96 /Modules/_gdbmmodule.c
parentb8a2f51ceb636878ec767554eddbb11ff4502c55 (diff)
downloadcpython-1a2b24f02dfd4eb3383f6ae2b59e5a4eb66fd5bb.zip
cpython-1a2b24f02dfd4eb3383f6ae2b59e5a4eb66fd5bb.tar.gz
cpython-1a2b24f02dfd4eb3383f6ae2b59e5a4eb66fd5bb.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/_gdbmmodule.c')
-rw-r--r--Modules/_gdbmmodule.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/Modules/_gdbmmodule.c b/Modules/_gdbmmodule.c
index f070a14..b840bf5 100644
--- a/Modules/_gdbmmodule.c
+++ b/Modules/_gdbmmodule.c
@@ -562,9 +562,8 @@ when the database has to be created. It defaults to octal 0o666.
[clinic start generated code]*/
static PyObject *
-dbmopen_impl(PyModuleDef *module, const char *name, const char *flags,
- int mode)
-/*[clinic end generated code: output=365b31415c03ccd4 input=55563cd60e51984a]*/
+dbmopen_impl(PyObject *module, const char *name, const char *flags, int mode)
+/*[clinic end generated code: output=31aa1bafdf5da688 input=55563cd60e51984a]*/
{
int iflags;