summaryrefslogtreecommitdiffstats
path: root/Doc/library/platform.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2023-07-21 11:51:00 (GMT)
committerGitHub <noreply@github.com>2023-07-21 11:51:00 (GMT)
commitffc7678f4683a63180c1321334c76e9b3e09b0a5 (patch)
treed30f26c7bf420a4c41b656b2e3e8e8c48a9242cf /Doc/library/platform.rst
parent84e52171b541ecc01f2d738cf82f5d4199a4bce7 (diff)
downloadcpython-ffc7678f4683a63180c1321334c76e9b3e09b0a5.zip
cpython-ffc7678f4683a63180c1321334c76e9b3e09b0a5.tar.gz
cpython-ffc7678f4683a63180c1321334c76e9b3e09b0a5.tar.bz2
[3.12] gh-106892: Use roles :data: and :const: for referencing module variables (GH-106894) (GH-106954)
(cherry picked from commit d036db728ea3d54509cbad06df74e2d9a31fbec8)
Diffstat (limited to 'Doc/library/platform.rst')
-rw-r--r--Doc/library/platform.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/platform.rst b/Doc/library/platform.rst
index 69c4dfc..ec2a7eb 100644
--- a/Doc/library/platform.rst
+++ b/Doc/library/platform.rst
@@ -46,7 +46,7 @@ Cross Platform
universal files containing multiple architectures.
To get at the "64-bitness" of the current interpreter, it is more
- reliable to query the :attr:`sys.maxsize` attribute::
+ reliable to query the :data:`sys.maxsize` attribute::
is_64bits = sys.maxsize > 2**32