]> granicus.if.org Git - python/commitdiff
Whitespace normalization.
authorTim Peters <tim.peters@gmail.com>
Tue, 30 May 2006 02:26:46 +0000 (02:26 +0000)
committerTim Peters <tim.peters@gmail.com>
Tue, 30 May 2006 02:26:46 +0000 (02:26 +0000)
Lib/doctest.py
Lib/functools.py
Tools/pybench/systimes.py

index b87df7c4835f9c9375bfbc4efd4fe6d95f3db333..d5491635e8d4984516269a03da3e1e4f8cf687cd 100644 (file)
@@ -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.
     """
index 5aa30e36f140322a6c0b23db11b29d530ff4e6cb..4935c9f68e8f47d4df7f82a61afb4a039163d8bc 100644 (file)
@@ -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
index 1ca6f780354512b49fc81627e362d8fa446e6939..79d249f8bb9c046252f23e27671eca1b2f3b3937 100644 (file)
@@ -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()