summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2006-05-23 21:54:23 (GMT)
committerTim Peters <tim.peters@gmail.com>2006-05-23 21:54:23 (GMT)
commit211219af4fd4644c7b877e4f2c374d08fdefb6bf (patch)
tree6f9511d53edf2262255f61af2573bc3b58c42f44 /Lib
parent1bddfb84ee8e5a67af9a5001ab845c22c29cd491 (diff)
downloadcpython-211219af4fd4644c7b877e4f2c374d08fdefb6bf.zip
cpython-211219af4fd4644c7b877e4f2c374d08fdefb6bf.tar.gz
cpython-211219af4fd4644c7b877e4f2c374d08fdefb6bf.tar.bz2
Whitespace normalization.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/distutils/unixccompiler.py2
-rw-r--r--Lib/distutils/util.py8
-rw-r--r--Lib/struct.py3
3 files changed, 6 insertions, 7 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:
diff --git a/Lib/struct.py b/Lib/struct.py
index aa7af71..ee5ddc2 100644
--- a/Lib/struct.py
+++ b/Lib/struct.py
@@ -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)
-