mirror of
https://github.com/python/cpython.git
synced 2025-07-26 20:54:39 +00:00
#9747: fix copy-paste error in getresgid() doc.
This commit is contained in:
parent
649971e63b
commit
a9b51d2a0e
2 changed files with 2 additions and 2 deletions
|
@ -299,7 +299,7 @@ process and user.
|
||||||
.. function:: getresgid()
|
.. function:: getresgid()
|
||||||
|
|
||||||
Return a tuple (rgid, egid, sgid) denoting the current process's
|
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.
|
Availability: Unix.
|
||||||
|
|
||||||
|
|
|
@ -7600,7 +7600,7 @@ posix_getresuid (PyObject *self, PyObject *noargs)
|
||||||
#ifdef HAVE_GETRESGID
|
#ifdef HAVE_GETRESGID
|
||||||
PyDoc_STRVAR(posix_getresgid__doc__,
|
PyDoc_STRVAR(posix_getresgid__doc__,
|
||||||
"getresgid() -> (rgid, egid, sgid)\n\n\
|
"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*
|
static PyObject*
|
||||||
posix_getresgid (PyObject *self, PyObject *noargs)
|
posix_getresgid (PyObject *self, PyObject *noargs)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue