summaryrefslogtreecommitdiffstats
path: root/Doc/library/inspect.rst
diff options
context:
space:
mode:
authorAlex Waygood <Alex.Waygood@Gmail.com>2023-12-06 22:11:53 (GMT)
committerGitHub <noreply@github.com>2023-12-06 22:11:53 (GMT)
commitca11aec98c39a08da858a1270b13b7e3ae6aa53b (patch)
tree7cc5299f8a01e2ab3d3c5876dcaab2dba857ca34 /Doc/library/inspect.rst
parentaf7cf385a2394895d93a11b02934c529eafce83c (diff)
downloadcpython-ca11aec98c39a08da858a1270b13b7e3ae6aa53b.zip
cpython-ca11aec98c39a08da858a1270b13b7e3ae6aa53b.tar.gz
cpython-ca11aec98c39a08da858a1270b13b7e3ae6aa53b.tar.bz2
[3.12] gh-101100: Improve documentation of code object attributes (#112781) (#112816)
(cherry-picked from commit e9707d3c3d)
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 56a08bf..6f4a24a 100644
--- a/Doc/library/inspect.rst
+++ b/Doc/library/inspect.rst
@@ -1579,8 +1579,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