summaryrefslogtreecommitdiff
path: root/Modules/grpmodule.c
diff options
context:
space:
mode:
authorR. David Murray <rdmurray@bitdance.com>2010-12-14 16:20:53 +0000
committerR. David Murray <rdmurray@bitdance.com>2010-12-14 16:20:53 +0000
commitec07331eea496469165dc3be45fadbeab641e083 (patch)
tree3961e67fea53d641e0aa587db146fb4ab40b623e /Modules/grpmodule.c
parenta80f4fb0481237e4ca4a9d9a57c52e0181b638f9 (diff)
downloadcpython-git-ec07331eea496469165dc3be45fadbeab641e083.tar.gz
#775964: skip YP/NIS entries instead of failing the test
Also includes doc updates mentioning that these entries may not be retrievable via getgrnam and getgrgid. Patch by Bobby Impollonia.
Diffstat (limited to 'Modules/grpmodule.c')
-rw-r--r--Modules/grpmodule.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/Modules/grpmodule.c b/Modules/grpmodule.c
index 97a3783bc8..7dfda280c7 100644
--- a/Modules/grpmodule.c
+++ b/Modules/grpmodule.c
@@ -159,7 +159,9 @@ Return the group database entry for the given group name. If\n\
name is not valid, raise KeyError."},
{"getgrall", grp_getgrall, METH_NOARGS,
"getgrall() -> list of tuples\n\
-Return a list of all available group entries, in arbitrary order."},
+Return a list of all available group entries, in arbitrary order.\n\
+An entry whose name starts with '+' or '-' represents an instruction\n\
+to use YP/NIS and may not be accessible via getgrnam or getgrgid."},
{NULL, NULL} /* sentinel */
};