diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-07-28 10:35:20 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-28 10:35:20 (GMT) |
commit | 0f42f41ea804e76bdb72c012d13b45a048e46c36 (patch) | |
tree | 0dc8017d3e745317ee2912bc80f723c250dd6a5d /Doc/library/os.rst | |
parent | 3f167de440f65eb03f795e33b98cf3e84627e213 (diff) | |
download | cpython-0f42f41ea804e76bdb72c012d13b45a048e46c36.zip cpython-0f42f41ea804e76bdb72c012d13b45a048e46c36.tar.gz cpython-0f42f41ea804e76bdb72c012d13b45a048e46c36.tar.bz2 |
[3.12] gh-107091: Fix some uses of :const: role (GH-107379) (GH-107384)
It is for references, not for literals.
(cherry picked from commit 0aa58fa7a62cd0ee7ec27fa87122425aeff0467d)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Doc/library/os.rst')
-rw-r--r-- | Doc/library/os.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst index 956eeff..9735baa 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -401,11 +401,11 @@ process and user. On macOS, :func:`getgroups` behavior differs somewhat from other Unix platforms. If the Python interpreter was built with a - deployment target of :const:`10.5` or earlier, :func:`getgroups` returns + deployment target of ``10.5`` or earlier, :func:`getgroups` returns the list of effective group ids associated with the current user process; this list is limited to a system-defined number of entries, typically 16, and may be modified by calls to :func:`setgroups` if suitably privileged. - If built with a deployment target greater than :const:`10.5`, + If built with a deployment target greater than ``10.5``, :func:`getgroups` returns the current group access list for the user associated with the effective user id of the process; the group access list may change over the lifetime of the process, it is not affected by |