Skip to content

Commit

Permalink
Fix typos in the Lib directory (GH-28775)
Browse files Browse the repository at this point in the history
Fix typos in the Lib directory as identified by codespell.

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
  • Loading branch information
cclauss and terryjreedy authored Oct 6, 2021
1 parent ab961b0 commit da64642
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ccompiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ def _fix_compile_args(self, output_dir, macros, include_dirs):
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.
Expand Down
4 changes: 2 additions & 2 deletions command/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
# 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": {}}

Expand All @@ -43,7 +43,7 @@
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'
Expand Down

0 comments on commit da64642

Please sign in to comment.