summaryrefslogtreecommitdiffstats
path: root/Doc/library/inspect.rst
diff options
context:
space:
mode:
authorAlex Waygood <Alex.Waygood@Gmail.com>2023-12-06 20:15:46 (GMT)
committerGitHub <noreply@github.com>2023-12-06 20:15:46 (GMT)
commite9707d3c3deb45a8352e85dbd5cf41afdb4a2a26 (patch)
treeaa298e05382b9f0c64842dd6fd1878bef04afbea /Doc/library/inspect.rst
parentb920d6ceaa5532bf2bc8128e006229ec583374d0 (diff)
downloadcpython-e9707d3c3deb45a8352e85dbd5cf41afdb4a2a26.zip
cpython-e9707d3c3deb45a8352e85dbd5cf41afdb4a2a26.tar.gz
cpython-e9707d3c3deb45a8352e85dbd5cf41afdb4a2a26.tar.bz2
gh-101100: Improve documentation of code object attributes (#112781)
Diffstat (limited to 'Doc/library/inspect.rst')
-rw-r--r--Doc/library/inspect.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst
index 08f15ae..0138557 100644
--- a/Doc/library/inspect.rst
+++ b/Doc/library/inspect.rst
@@ -1596,8 +1596,8 @@ updated as expected:
Code Objects Bit Flags
----------------------
-Python code objects have a ``co_flags`` attribute, which is a bitmap of
-the following flags:
+Python code objects have a :attr:`~codeobject.co_flags` attribute,
+which is a bitmap of the following flags:
.. data:: CO_OPTIMIZED