summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-09-05 17:07:12 (GMT)
committerGeorg Brandl <georg@python.org>2010-09-05 17:07:12 (GMT)
commita9b51d2a0e4c6875fb588c6bf97d7e4af6bb121c (patch)
tree331bef9d2128b658b899068a68bb33ff3f91ee96
parent649971e63bec3ae9b5eb399f5ee7885a8bf18e53 (diff)
downloadcpython-a9b51d2a0e4c6875fb588c6bf97d7e4af6bb121c.zip
cpython-a9b51d2a0e4c6875fb588c6bf97d7e4af6bb121c.tar.gz
cpython-a9b51d2a0e4c6875fb588c6bf97d7e4af6bb121c.tar.bz2
#9747: fix copy-paste error in getresgid() doc.
-rw-r--r--Doc/library/os.rst2
-rw-r--r--Modules/posixmodule.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst
index 8df98cf..2e29e4a 100644
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -299,7 +299,7 @@ process and user.
.. function:: getresgid()
Return a tuple (rgid, egid, sgid) denoting the current process's
- real, effective, and saved user ids.
+ real, effective, and saved group ids.
Availability: Unix.
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index 1080c7e..dda758f 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -7600,7 +7600,7 @@ posix_getresuid (PyObject *self, PyObject *noargs)
#ifdef HAVE_GETRESGID
PyDoc_STRVAR(posix_getresgid__doc__,
"getresgid() -> (rgid, egid, sgid)\n\n\
-Get tuple of the current process's real, effective, and saved user ids.");
+Get tuple of the current process's real, effective, and saved group ids.");
static PyObject*
posix_getresgid (PyObject *self, PyObject *noargs)