summaryrefslogtreecommitdiffstats
path: root/Modules/clinic/grpmodule.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/grpmodule.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/grpmodule.c.h')
-rw-r--r--Modules/clinic/grpmodule.c.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/Modules/clinic/grpmodule.c.h b/Modules/clinic/grpmodule.c.h
index 6818309..eb5b59d 100644
--- a/Modules/clinic/grpmodule.c.h
+++ b/Modules/clinic/grpmodule.c.h
@@ -23,8 +23,7 @@ grp_getgrgid(PyModuleDef *module, PyObject *args, PyObject *kwargs)
static char *_keywords[] = {"id", NULL};
PyObject *id;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O:getgrgid", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O:getgrgid", _keywords,
&id))
goto exit;
return_value = grp_getgrgid_impl(module, id);
@@ -54,8 +53,7 @@ grp_getgrnam(PyModuleDef *module, PyObject *args, PyObject *kwargs)
static char *_keywords[] = {"name", NULL};
PyObject *name;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "U:getgrnam", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "U:getgrnam", _keywords,
&name))
goto exit;
return_value = grp_getgrnam_impl(module, name);
@@ -84,4 +82,4 @@ grp_getgrall(PyModuleDef *module, PyObject *Py_UNUSED(ignored))
{
return grp_getgrall_impl(module);
}
-/*[clinic end generated code: output=4709a6ba40bb8df9 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=5191c25600afb1bd input=a9049054013a1b77]*/