mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Patch #568124: Add doc string macros.
This commit is contained in:
parent
654c11ee3a
commit
14f8b4cfcb
63 changed files with 1509 additions and 1625 deletions
|
@ -15,11 +15,11 @@ static PyStructSequence_Field struct_group_type_fields[] = {
|
|||
{0}
|
||||
};
|
||||
|
||||
static char struct_group__doc__[] =
|
||||
PyDoc_STRVAR(struct_group__doc__,
|
||||
"grp.struct_group: Results from getgr*() routines.\n\n\
|
||||
This object may be accessed either as a tuple of\n\
|
||||
(gr_name,gr_passwd,gr_gid,gr_mem)\n\
|
||||
or via the object attributes as named in the above tuple.\n";
|
||||
or via the object attributes as named in the above tuple.\n");
|
||||
|
||||
static PyStructSequence_Desc struct_group_type_desc = {
|
||||
"grp.struct_group",
|
||||
|
@ -139,7 +139,7 @@ Return a list of all available group entries, in arbitrary order."},
|
|||
{NULL, NULL} /* sentinel */
|
||||
};
|
||||
|
||||
static char grp__doc__[] =
|
||||
PyDoc_STRVAR(grp__doc__,
|
||||
"Access to the Unix group database.\n\
|
||||
\n\
|
||||
Group entries are reported as 4-tuples containing the following fields\n\
|
||||
|
@ -153,7 +153,7 @@ from the group database, in order:\n\
|
|||
The gid is an integer, name and password are strings. (Note that most\n\
|
||||
users are not explicitly listed as members of the groups they are in\n\
|
||||
according to the password database. Check both databases to get\n\
|
||||
complete membership information.)";
|
||||
complete membership information.)");
|
||||
|
||||
|
||||
DL_EXPORT(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue