https://github.com/python/cpython/commit/b87613f21474ea848fec435cbfe63d8cb1c7c44c
commit: b87613f21474ea848fec435cbfe63d8cb1c7c44c
branch: main
author: Mariusz Felisiak <[email protected]>
committer: hugovk <[email protected]>
date: 2025-11-18T12:32:15+02:00
summary:
Add missing backticks in os and decimal docs (#141699)
files:
M Doc/library/decimal.rst
M Doc/library/os.rst
diff --git a/Doc/library/decimal.rst b/Doc/library/decimal.rst
index 985153b5443f5c..ba882f10bbe2b8 100644
--- a/Doc/library/decimal.rst
+++ b/Doc/library/decimal.rst
@@ -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
diff --git a/Doc/library/os.rst b/Doc/library/os.rst
index dbc3c92c8798b5..7dc6c177268ec2 100644
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -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.
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]