summaryrefslogtreecommitdiffstats
path: root/Doc/library/sys.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2023-09-23 06:31:20 (GMT)
committerGitHub <noreply@github.com>2023-09-23 06:31:20 (GMT)
commit92af0cc580051fd1129c7a86af2cbadeb2aa36dc (patch)
tree19504cdaa115df0213978c7e25f96888b29b2861 /Doc/library/sys.rst
parent5e7ea95d9d5c3b80a67ffbeebd76ce4fc327dd8e (diff)
downloadcpython-92af0cc580051fd1129c7a86af2cbadeb2aa36dc.zip
cpython-92af0cc580051fd1129c7a86af2cbadeb2aa36dc.tar.gz
cpython-92af0cc580051fd1129c7a86af2cbadeb2aa36dc.tar.bz2
gh-109634: Use :samp: role (GH-109635)
Diffstat (limited to 'Doc/library/sys.rst')
-rw-r--r--Doc/library/sys.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst
index c116f4b..ef818a7 100644
--- a/Doc/library/sys.rst
+++ b/Doc/library/sys.rst
@@ -753,7 +753,7 @@ always available.
Return the current value of the flags that are used for
:c:func:`dlopen` calls. Symbolic names for the flag values can be
- found in the :mod:`os` module (``RTLD_xxx`` constants, e.g.
+ found in the :mod:`os` module (:samp:`RTLD_{xxx}` constants, e.g.
:const:`os.RTLD_LAZY`).
.. availability:: Unix.
@@ -1441,7 +1441,7 @@ always available.
lazy resolving of symbols when importing a module, if called as
``sys.setdlopenflags(0)``. To share symbols across extension modules, call as
``sys.setdlopenflags(os.RTLD_GLOBAL)``. Symbolic names for the flag values
- can be found in the :mod:`os` module (``RTLD_xxx`` constants, e.g.
+ can be found in the :mod:`os` module (:samp:`RTLD_{xxx}` constants, e.g.
:const:`os.RTLD_LAZY`).
.. availability:: Unix.