summaryrefslogtreecommitdiff
path: root/Modules
diff options
context:
space:
mode:
authorR. David Murray <rdmurray@bitdance.com>2010-12-14 16:24:18 +0000
committerR. David Murray <rdmurray@bitdance.com>2010-12-14 16:24:18 +0000
commitd8fec5ff08b3699cd0054d26ebe633e1665cb1b4 (patch)
treee7cf2e465a9151e02357fe9874472d7252264fb6 /Modules
parent773d7dffb1fa20fa1a434e326d66515d3bfd43fb (diff)
downloadcpython-git-d8fec5ff08b3699cd0054d26ebe633e1665cb1b4.tar.gz
Merged revisions 87238 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87238 | r.david.murray | 2010-12-14 11:20:53 -0500 (Tue, 14 Dec 2010) | 7 lines #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')
-rw-r--r--Modules/grpmodule.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/Modules/grpmodule.c b/Modules/grpmodule.c
index ca3a3583f8..4ab5547fdd 100644
--- a/Modules/grpmodule.c
+++ b/Modules/grpmodule.c
@@ -164,7 +164,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 */
};