summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaúl Cumplido <raulcumplido@gmail.com>2020-03-12 14:38:19 (GMT)
committerGitHub <noreply@github.com>2020-03-12 14:38:19 (GMT)
commit3c29675d8736cb1860f342d872ae41e342c6d383 (patch)
treeb45c24ef37bdee3c7085bdba5d709d8eecfc7b89
parent75cd5bf428c378a4d0479a09290b66592961a2ac (diff)
downloadcpython-3c29675d8736cb1860f342d872ae41e342c6d383.zip
cpython-3c29675d8736cb1860f342d872ae41e342c6d383.tar.gz
cpython-3c29675d8736cb1860f342d872ae41e342c6d383.tar.bz2
bpo-1294959: Fix typo for new attribute platlibdir. (GH-18960)
Received email on the docs mailing list to fix a typo from `sys.platlitdir` which doesn't exist to the correct new attribute `sys.platlibdir` Automerge-Triggered-By: @vstinner
-rw-r--r--Doc/whatsnew/3.9.rst4
-rw-r--r--Misc/NEWS.d/next/Build/2020-02-06-18-08-25.bpo-1294959.AZPg4R.rst2
2 files changed, 3 insertions, 3 deletions
diff --git a/Doc/whatsnew/3.9.rst b/Doc/whatsnew/3.9.rst
index 9948539..1434a9e 100644
--- a/Doc/whatsnew/3.9.rst
+++ b/Doc/whatsnew/3.9.rst
@@ -356,7 +356,7 @@ running.
sys
---
-Add a new :attr:`sys.platlitdir` attribute: name of the platform-specific
+Add a new :attr:`sys.platlibdir` attribute: name of the platform-specific
library directory. It is used to build the path of platform-specific dynamic
libraries and the path of the standard library. It is equal to ``"lib"`` on
most platforms. On Fedora and SuSE, it is equal to ``"lib64"`` on 64-bit
@@ -407,7 +407,7 @@ Build and C API Changes
=======================
* Add ``--with-platlibdir`` option to the ``configure`` script: name of the
- platform-specific library directory, stored in the new :attr:`sys.platlitdir`
+ platform-specific library directory, stored in the new :attr:`sys.platlibdir`
attribute. See :attr:`sys.platlibdir` attribute for more information.
(Contributed by Jan Matějek, Matěj Cepl, Charalampos Stratakis and Victor Stinner in :issue:`1294959`.)
diff --git a/Misc/NEWS.d/next/Build/2020-02-06-18-08-25.bpo-1294959.AZPg4R.rst b/Misc/NEWS.d/next/Build/2020-02-06-18-08-25.bpo-1294959.AZPg4R.rst
index 1642e69..a90d630 100644
--- a/Misc/NEWS.d/next/Build/2020-02-06-18-08-25.bpo-1294959.AZPg4R.rst
+++ b/Misc/NEWS.d/next/Build/2020-02-06-18-08-25.bpo-1294959.AZPg4R.rst
@@ -1,5 +1,5 @@
Add ``--with-platlibdir`` option to the configure script: name of the
-platform-specific library directory, stored in the new :attr:`sys.platlitdir`
+platform-specific library directory, stored in the new :attr:`sys.platlibdir`
attribute. It is used to build the path of platform-specific dynamic libraries
and the path of the standard library. It is equal to ``"lib"`` on most
platforms. On Fedora and SuSE, it is equal to ``"lib64"`` on 64-bit platforms.