diff options
author | Christian Clauss <cclauss@me.com> | 2021-10-06 23:13:48 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-06 23:13:48 (GMT) |
commit | 745c9d9dfc1ad6fdfdf1d07420c6273ff67fa5be (patch) | |
tree | cf25c5b8d353f69be8ba9b70963eabae044e4c76 /Lib/distutils | |
parent | db693df3e112c5a61f2cbef63eedce3a36520ded (diff) | |
download | cpython-745c9d9dfc1ad6fdfdf1d07420c6273ff67fa5be.zip cpython-745c9d9dfc1ad6fdfdf1d07420c6273ff67fa5be.tar.gz cpython-745c9d9dfc1ad6fdfdf1d07420c6273ff67fa5be.tar.bz2 |
Fix typos in the Lib directory (GH-28775)
Fix typos in the Lib directory as identified by codespell.
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Diffstat (limited to 'Lib/distutils')
-rw-r--r-- | Lib/distutils/ccompiler.py | 2 | ||||
-rw-r--r-- | Lib/distutils/command/install.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Lib/distutils/ccompiler.py b/Lib/distutils/ccompiler.py index b5ef143..4c47f2e 100644 --- a/Lib/distutils/ccompiler.py +++ b/Lib/distutils/ccompiler.py @@ -392,7 +392,7 @@ class CCompiler: return output_dir, macros, include_dirs def _prep_compile(self, sources, output_dir, depends=None): - """Decide which souce files must be recompiled. + """Decide which source files must be recompiled. Determine the list of object files corresponding to 'sources', and figure out which ones really need to be recompiled. diff --git a/Lib/distutils/command/install.py b/Lib/distutils/command/install.py index 26696cf..01d5331 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' |