summaryrefslogtreecommitdiffstats
path: root/Modules/clinic/_gdbmmodule.c.h
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-04-23 21:40:51 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-04-23 21:40:51 (GMT)
commit247789cee99c8933c140110791d136cbe37a003b (patch)
treeb29885b10378b1b31f51609bf719bd4f6c7de306 /Modules/clinic/_gdbmmodule.c.h
parenta30e2256f70bd43255e8dae6459c70540f118b62 (diff)
downloadcpython-247789cee99c8933c140110791d136cbe37a003b.zip
cpython-247789cee99c8933c140110791d136cbe37a003b.tar.gz
cpython-247789cee99c8933c140110791d136cbe37a003b.tar.bz2
Issue #24007: Argument Clinic now writes the format of PyArg_Parse*() at the
same line as function name.
Diffstat (limited to 'Modules/clinic/_gdbmmodule.c.h')
-rw-r--r--Modules/clinic/_gdbmmodule.c.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/Modules/clinic/_gdbmmodule.c.h b/Modules/clinic/_gdbmmodule.c.h
index d9e9acf..110ad9a 100644
--- a/Modules/clinic/_gdbmmodule.c.h
+++ b/Modules/clinic/_gdbmmodule.c.h
@@ -147,9 +147,7 @@ _gdbm_gdbm_nextkey(dbmobject *self, PyObject *arg)
const char *key;
Py_ssize_clean_t key_length;
- if (!PyArg_Parse(arg,
- "s#:nextkey",
- &key, &key_length))
+ if (!PyArg_Parse(arg, "s#:nextkey", &key, &key_length))
goto exit;
return_value = _gdbm_gdbm_nextkey_impl(self, key, key_length);
@@ -244,8 +242,7 @@ dbmopen(PyModuleDef *module, PyObject *args)
const char *flags = "r";
int mode = 438;
- if (!PyArg_ParseTuple(args,
- "s|si:open",
+ if (!PyArg_ParseTuple(args, "s|si:open",
&name, &flags, &mode))
goto exit;
return_value = dbmopen_impl(module, name, flags, mode);
@@ -253,4 +250,4 @@ dbmopen(PyModuleDef *module, PyObject *args)
exit:
return return_value;
}
-/*[clinic end generated code: output=b41c68a5f30699cb input=a9049054013a1b77]*/
+/*[clinic end generated code: output=d3d8d871bcccb68a input=a9049054013a1b77]*/