summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew/3.1.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.1.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.1.rst')
-rw-r--r--Doc/whatsnew/3.1.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/whatsnew/3.1.rst b/Doc/whatsnew/3.1.rst
index 054762d..c399f00 100644
--- a/Doc/whatsnew/3.1.rst
+++ b/Doc/whatsnew/3.1.rst
@@ -370,7 +370,7 @@ New, Improved, and Deprecated Modules
* The :mod:`io` module has three new constants for the :meth:`seek`
method :data:`SEEK_SET`, :data:`SEEK_CUR`, and :data:`SEEK_END`.
-* The :attr:`sys.version_info` tuple is now a named tuple::
+* The :data:`sys.version_info` tuple is now a named tuple::
>>> sys.version_info
sys.version_info(major=3, minor=1, micro=0, releaselevel='alpha', serial=2)
@@ -486,7 +486,7 @@ Changes to Python's build process and to the C API include:
Apart from the performance improvements this change should be invisible to
end users, with one exception: for testing and debugging purposes there's a
- new :attr:`sys.int_info` that provides information about the
+ new :data:`sys.int_info` that provides information about the
internal format, giving the number of bits per digit and the size in bytes
of the C type used to store each digit::