summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)