Whitespace normalization.

This commit is contained in:
Tim Peters 2006-05-23 21:54:23 +00:00
parent 1bddfb84ee
commit 211219af4f
4 changed files with 1019 additions and 1020 deletions

View File

@ -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":

View File

@ -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:

View File

@ -50,7 +50,7 @@ def calcsize(fmt):
except KeyError:
o = _compile(fmt)
return o.size
def pack(fmt, *args):
"""
Return string containing values v1, v2, ... packed according to fmt.
@ -73,4 +73,3 @@ def unpack(fmt, s):
except KeyError:
o = _compile(fmt)
return o.unpack(s)

File diff suppressed because it is too large Load Diff