summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2006-05-30 02:26:46 (GMT)
committerTim Peters <tim.peters@gmail.com>2006-05-30 02:26:46 (GMT)
commit27c70598a87ca2dad013e7532ca249f1d1651eca (patch)
treef4b858a134b49cd3a27efebdbdf763cffaf5255e
parentaba19bc45fb3f0c45cb4511e2b9c1fca637fb2b3 (diff)
downloadcpython-27c70598a87ca2dad013e7532ca249f1d1651eca.zip
cpython-27c70598a87ca2dad013e7532ca249f1d1651eca.tar.gz
cpython-27c70598a87ca2dad013e7532ca249f1d1651eca.tar.bz2
Whitespace normalization.
-rw-r--r--Lib/doctest.py6
-rw-r--r--Lib/functools.py2
-rw-r--r--Tools/pybench/systimes.py2
3 files changed, 5 insertions, 5 deletions
diff --git a/Lib/doctest.py b/Lib/doctest.py
index b87df7c..d549163 100644
--- a/Lib/doctest.py
+++ b/Lib/doctest.py
@@ -1939,7 +1939,7 @@ def testfile(filename, module_relative=True, name=None, package=None,
Optional keyword arg "encoding" specifies an encoding that should
be used to convert the file to unicode.
-
+
Advanced tomfoolery: testmod runs methods of a local instance of
class doctest.Tester, then merges the results into (or creates)
global Tester instance doctest.master. Methods of doctest.master
@@ -2366,7 +2366,7 @@ def DocFileTest(path, module_relative=True, package=None,
# Find the file and read it.
name = os.path.basename(path)
-
+
# If an encoding is specified, use it to convert the file to unicode
if encoding is not None:
doc = doc.decode(encoding)
@@ -2427,7 +2427,7 @@ def DocFileSuite(*paths, **kw):
parser
A DocTestParser (or subclass) that should be used to extract
tests from the files.
-
+
encoding
An encoding that will be used to convert the files to unicode.
"""
diff --git a/Lib/functools.py b/Lib/functools.py
index 5aa30e3..4935c9f 100644
--- a/Lib/functools.py
+++ b/Lib/functools.py
@@ -23,4 +23,4 @@ __all__ = [
# The wraps function makes it easy to avoid the bug that afflicts the
# decorator example in the python-dev email proposing the
# update_wrapper function:
-# http://mail.python.org/pipermail/python-dev/2006-May/064775.html \ No newline at end of file
+# http://mail.python.org/pipermail/python-dev/2006-May/064775.html
diff --git a/Tools/pybench/systimes.py b/Tools/pybench/systimes.py
index 1ca6f78..79d249f 100644
--- a/Tools/pybench/systimes.py
+++ b/Tools/pybench/systimes.py
@@ -179,7 +179,7 @@ def test_workload():
print 'after:', t1
print 'differences:', (t1[0] - t0[0], t1[1] - t0[1])
print
-
+
def test_idle():
print 'Testing systimes() under idle conditions'
t0 = systimes()