]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add missing backticks in os and decimal docs (#141699)
authorMariusz Felisiak <felisiak.mariusz@gmail.com>
Tue, 18 Nov 2025 10:32:15 +0000 (11:32 +0100)
committerGitHub <noreply@github.com>
Tue, 18 Nov 2025 10:32:15 +0000 (12:32 +0200)
Doc/library/decimal.rst
Doc/library/os.rst

index 985153b5443f5ca61fc087f46ee24d6de58ecf3f..ba882f10bbe2b8e14c91d0f354c013b65ee7eaf3 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 dbc3c92c8798b5e13307e3572b1327c537ff1da0..7dc6c177268ec2ac4cd16a0de23e48658f3a7514 100644 (file)
@@ -558,7 +558,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.