diff options
Diffstat (limited to 'Lib/distutils')
-rw-r--r-- | Lib/distutils/unixccompiler.py | 2 | ||||
-rw-r--r-- | Lib/distutils/util.py | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/Lib/distutils/unixccompiler.py b/Lib/distutils/unixccompiler.py index e612cfc..324819d 100644 --- a/Lib/distutils/unixccompiler.py +++ b/Lib/distutils/unixccompiler.py @@ -220,7 +220,7 @@ class UnixCCompiler(CCompiler): # skip over environment variable settings if /usr/bin/env # is used to set up the linker's environment. # This is needed on OSX. Note: this assumes that the - # normal and C++ compiler have the same environment + # normal and C++ compiler have the same environment # settings. i = 0 if os.path.basename(linker[0]) == "env": diff --git a/Lib/distutils/util.py b/Lib/distutils/util.py index 623c41e..cfcc6a9 100644 --- a/Lib/distutils/util.py +++ b/Lib/distutils/util.py @@ -69,10 +69,10 @@ def get_platform (): release = m.group() elif osname[:6] == "darwin": # - # For our purposes, we'll assume that the system version from - # distutils' perspective is what MACOSX_DEPLOYMENT_TARGET is set + # For our purposes, we'll assume that the system version from + # distutils' perspective is what MACOSX_DEPLOYMENT_TARGET is set # to. This makes the compatibility story a bit more sane because the - # machine is going to compile and link as if it were + # machine is going to compile and link as if it were # MACOSX_DEPLOYMENT_TARGET. from distutils.sysconfig import get_config_vars cfgvars = get_config_vars() @@ -97,7 +97,7 @@ def get_platform (): r'<string>(.*?)</string>', f.read()) f.close() if m is not None: - macver = '.'.join(m.group(1).split('.')[:2]) + macver = '.'.join(m.group(1).split('.')[:2]) # else: fall back to the default behaviour if macver: |