From 8d8f874c19f9b7ea943d5fea12cbd64633cdb9bc Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sat, 28 Nov 2009 11:11:50 +0000 Subject: [PATCH] Fix versions and spacing. --- Doc/library/os.rst | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/Doc/library/os.rst b/Doc/library/os.rst index 9e7890d880d..0036845560b 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -173,19 +173,22 @@ process and user. Return the parent's process id. Availability: Unix. + .. function:: getresuid() Return a tuple (ruid, euid, suid) denoting the current process's real, effective, and saved user ids. Availability: Unix. - .. versionadded:: 2.7/3.2 + .. versionadded:: 2.7 + .. function:: getresgid() Return a tuple (rgid, egid, sgid) denoting the current process's real, effective, and saved user ids. Availability: Unix. - .. versionadded:: 2.7/3.2 + .. versionadded:: 2.7 + .. function:: getuid() @@ -264,19 +267,22 @@ process and user. Set the current process's real and effective group ids. Availability: Unix. + .. function:: setresgid(rgid, egid, sgid) Set the current process's real, effective, and saved group ids. Availability: Unix. - .. versionadded:: 2.7/3.2 + .. versionadded:: 2.7 + .. function:: setresuid(ruid, euid, suid) Set the current process's real, effective, and saved user ids. Availibility: Unix. - .. versionadded:: 2.7/3.2 + .. versionadded:: 2.7 + .. function:: setreuid(ruid, euid)