summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew/3.8.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2023-07-21 09:34:30 (GMT)
committerGitHub <noreply@github.com>2023-07-21 09:34:30 (GMT)
commitd036db728ea3d54509cbad06df74e2d9a31fbec8 (patch)
treefd69c04729af3029a8ac11e8771d4d4893b4ffc1 /Doc/whatsnew/3.8.rst
parent8d397ee8259fa0f81598a452438fc335267ca260 (diff)
downloadcpython-d036db728ea3d54509cbad06df74e2d9a31fbec8.zip
cpython-d036db728ea3d54509cbad06df74e2d9a31fbec8.tar.gz
cpython-d036db728ea3d54509cbad06df74e2d9a31fbec8.tar.bz2
gh-106892: Use roles :data: and :const: for referencing module variables (GH-106894)
Diffstat (limited to 'Doc/whatsnew/3.8.rst')
-rw-r--r--Doc/whatsnew/3.8.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst
index b27fcce..3efb3f4 100644
--- a/Doc/whatsnew/3.8.rst
+++ b/Doc/whatsnew/3.8.rst
@@ -1839,7 +1839,7 @@ Changes in Python behavior
classes will affect their string representation.
(Contributed by Serhiy Storchaka in :issue:`36793`.)
-* On AIX, :attr:`sys.platform` doesn't contain the major version anymore.
+* On AIX, :data:`sys.platform` doesn't contain the major version anymore.
It is always ``'aix'``, instead of ``'aix3'`` .. ``'aix7'``. Since
older Python versions include the version number, so it is recommended to
always use ``sys.platform.startswith('aix')``.