]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] Add missing backticks in os and decimal docs (GH-141699) (#141705)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 18 Nov 2025 10:37:49 +0000 (11:37 +0100)
committerGitHub <noreply@github.com>
Tue, 18 Nov 2025 10:37:49 +0000 (10:37 +0000)
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
Doc/library/decimal.rst
Doc/library/os.rst

index 0b99a8324055494164283282dc52d9199f0da724..8d3223e89d96c7ad53e5fefd27a31695ed002ba1 100644 (file)
@@ -264,7 +264,7 @@ allows the settings to be changed.  This approach meets the needs of most
 applications.
 
 For more advanced work, it may be useful to create alternate contexts using the
-Context() constructor.  To make an alternate active, use the :func:`setcontext`
+:meth:`Context` constructor.  To make an alternate active, use the :func:`setcontext`
 function.
 
 In accordance with the standard, the :mod:`decimal` module provides two ready to
index 4286e94ddb6c72163b642142ef3c583992702253..1e109264d3dd1d69cfcd975acc3026ddb3048c7e 100644 (file)
@@ -561,7 +561,7 @@ process and user.
 
 .. function:: initgroups(username, gid, /)
 
-   Call the system initgroups() to initialize the group access list with all of
+   Call the system ``initgroups()`` to initialize the group access list with all of
    the groups of which the specified username is a member, plus the specified
    group id.