From: Georg Brandl Date: Sun, 5 Sep 2010 17:07:12 +0000 (+0000) Subject: #9747: fix copy-paste error in getresgid() doc. X-Git-Tag: v3.2a2~9 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a9b51d2a0e4c6875fb588c6bf97d7e4af6bb121c;p=thirdparty%2FPython%2Fcpython.git #9747: fix copy-paste error in getresgid() doc. --- diff --git a/Doc/library/os.rst b/Doc/library/os.rst index 8df98cf1ff07..2e29e4a4672f 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 1080c7e07142..dda758f44579 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)