summaryrefslogtreecommitdiff
path: root/Lib/distutils/command
diff options
context:
space:
mode:
authorChristian Clauss <cclauss@me.com>2021-10-07 17:49:47 +0200
committerGitHub <noreply@github.com>2021-10-07 11:49:47 -0400
commitcfca4a67745cb9ed040fade3fd54f5002a6e75a6 (patch)
treedb352adfb835d8b392b2257e12a9b481b1a8bf12 /Lib/distutils/command
parent03bf55d8cf563ccdee2ec61c5c734c59b5d94ba4 (diff)
downloadcpython-git-cfca4a67745cb9ed040fade3fd54f5002a6e75a6.tar.gz
[3.10] Fix typos in the Lib directory (GH-28775) (GH-28804)
Fix typos in the Lib directory as identified by codespell. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>. (cherry picked from commit 745c9d9dfc1ad6fdfdf1d07420c6273ff67fa5be) Co-authored-by: Christian Clauss <cclauss@me.com>
Diffstat (limited to 'Lib/distutils/command')
-rw-r--r--Lib/distutils/command/install.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/distutils/command/install.py b/Lib/distutils/command/install.py
index 26696cfb9d..01d5331a63 100644
--- a/Lib/distutils/command/install.py
+++ b/Lib/distutils/command/install.py
@@ -31,7 +31,7 @@ SCHEME_KEYS = ('purelib', 'platlib', 'headers', 'scripts', 'data')
# while making the sysconfig module the single point of truth.
# This makes it easier for OS distributions where they need to
# alter locations for packages installations in a single place.
-# Note that this module is depracated (PEP 632); all consumers
+# Note that this module is deprecated (PEP 632); all consumers
# of this information should switch to using sysconfig directly.
INSTALL_SCHEMES = {"unix_prefix": {}, "unix_home": {}, "nt": {}}
@@ -43,7 +43,7 @@ for key in SCHEME_KEYS:
sys_key = key
sys_scheme = sysconfig._INSTALL_SCHEMES[sys_scheme_name]
if key == "headers" and key not in sys_scheme:
- # On POSIX-y platofrms, Python will:
+ # On POSIX-y platforms, Python will:
# - Build from .h files in 'headers' (only there when
# building CPython)
# - Install .h files to 'include'