]> granicus.if.org Git - python/commitdiff
#9747: fix copy-paste error in getresgid() doc.
authorGeorg Brandl <georg@python.org>
Sun, 5 Sep 2010 17:07:12 +0000 (17:07 +0000)
committerGeorg Brandl <georg@python.org>
Sun, 5 Sep 2010 17:07:12 +0000 (17:07 +0000)
Doc/library/os.rst
Modules/posixmodule.c

index 8df98cf1ff07be4660354eb5268cd4fb04f25313..2e29e4a4672f7b4e63857cbbd0c3e19a70f50e31 100644 (file)
@@ -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.
 
index 1080c7e07142da5888990fdfdaa2cb6e549e75cc..dda758f44579b0def471d033c69e0fa036df8785 100644 (file)
@@ -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)