summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew/3.9.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/whatsnew/3.9.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/whatsnew/3.9.rst')
-rw-r--r--Doc/whatsnew/3.9.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/whatsnew/3.9.rst b/Doc/whatsnew/3.9.rst
index 36d942e..1f0fbbc 100644
--- a/Doc/whatsnew/3.9.rst
+++ b/Doc/whatsnew/3.9.rst
@@ -692,13 +692,13 @@ which has nanosecond resolution, rather than
sys
---
-Added a new :attr:`sys.platlibdir` attribute: name of the platform-specific
+Added a new :data:`sys.platlibdir` attribute: name of the platform-specific
library directory. It is used to build the path of standard library and the
paths of installed extension modules. It is equal to ``"lib"`` on most
platforms. On Fedora and SuSE, it is equal to ``"lib64"`` on 64-bit platforms.
(Contributed by Jan Matějek, Matěj Cepl, Charalampos Stratakis and Victor Stinner in :issue:`1294959`.)
-Previously, :attr:`sys.stderr` was block-buffered when non-interactive. Now
+Previously, :data:`sys.stderr` was block-buffered when non-interactive. Now
``stderr`` defaults to always being line-buffered.
(Contributed by Jendrik Seipp in :issue:`13601`.)
@@ -1226,8 +1226,8 @@ Build Changes
=============
* Added ``--with-platlibdir`` option to the ``configure`` script: name of the
- platform-specific library directory, stored in the new :attr:`sys.platlibdir`
- attribute. See :attr:`sys.platlibdir` attribute for more information.
+ platform-specific library directory, stored in the new :data:`sys.platlibdir`
+ attribute. See :data:`sys.platlibdir` attribute for more information.
(Contributed by Jan Matějek, Matěj Cepl, Charalampos Stratakis
and Victor Stinner in :issue:`1294959`.)