summaryrefslogtreecommitdiffstats
path: root/Doc/library/platform.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2023-07-21 11:49:21 (GMT)
committerGitHub <noreply@github.com>2023-07-21 11:49:21 (GMT)
commitcc76113cf823ebff76d346665bbf1218a40ed4c8 (patch)
tree78304581e099caca96d7ab5104e8d63fbdc76cd2 /Doc/library/platform.rst
parent6bde1b9f049e35e557068bd8c6034ee9c6fe61dc (diff)
downloadcpython-cc76113cf823ebff76d346665bbf1218a40ed4c8.zip
cpython-cc76113cf823ebff76d346665bbf1218a40ed4c8.tar.gz
cpython-cc76113cf823ebff76d346665bbf1218a40ed4c8.tar.bz2
[3.11] gh-106892: Use roles :data: and :const: for referencing module variables (GH-106894) (GH-106955)
(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 dc2d871..60cd6b8 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