]> granicus.if.org Git - python/commitdiff
Whitespace normalization.
authorTim Peters <tim.peters@gmail.com>
Sun, 29 Jun 2003 05:46:54 +0000 (05:46 +0000)
committerTim Peters <tim.peters@gmail.com>
Sun, 29 Jun 2003 05:46:54 +0000 (05:46 +0000)
Lib/cgitb.py
Lib/inspect.py
Lib/test/test_bool.py
Lib/test/test_complex.py
Lib/test/test_posixpath.py

index 4e0c9fbdb71f40563448ea9fb73a3080e396a72e..cd469adb48f7083c96b15cc8e44217cafd80abaa 100644 (file)
@@ -9,7 +9,7 @@ at the top of your script.  The optional arguments to enable() are:
     display     - if true, tracebacks are displayed in the web browser
     logdir      - if set, tracebacks are written to files in this directory
     context     - number of lines of source code to show for each stack frame
-    format     - 'text' or 'html' controls the output format
+    format      - 'text' or 'html' controls the output format
 
 By default, tracebacks are displayed but not saved, the context is 5 lines
 and the output format is 'html' (for backwards compatibility with the
index 039120168a4f5f8bec3ecf7f62ebee4dc803bbc9..1f49bcb3a19792fb983e25292b44b2cdeca45a45 100644 (file)
@@ -325,7 +325,7 @@ def getfile(object):
         object = object.f_code
     if iscode(object):
         return object.co_filename
-    raise TypeError('arg is not a module, class, method, ' 
+    raise TypeError('arg is not a module, class, method, '
                     'function, traceback, frame, or code object')
 
 def getmoduleinfo(path):
index f2a4322695215fcccd0c7209f3d4b519461071dd..33185a05d46cdb70989916e00eca748304db83c3 100644 (file)
@@ -329,17 +329,17 @@ class BoolTest(unittest.TestCase):
             def __nonzero__(self):
                 return self
         check(Foo())
-        
+
         class Bar(object):
             def __nonzero__(self):
                 return "Yes"
         check(Bar())
-        
+
         class Baz(int):
             def __nonzero__(self):
                 return self
         check(Baz())
-        
+
 
 def test_main():
     test_support.run_unittest(BoolTest)
index 0963bcc0ef9be78e97387f0887f3eb33eab9bb72..ff1ce64e39efa2667226c7615da0f23474a852d8 100644 (file)
@@ -208,7 +208,7 @@ class ComplexTest(unittest.TestCase):
             self.assertRaises(ValueError, complex, unicode("x"))
 
         class EvilExc(Exception):
-             pass
+            pass
 
         class evilcomplex:
             def __complex__(self):
index 30551d83900621ae2b9c9d65f12d60a8543ae6dd..37e96286d86924332af57f754f6eecee144d200a 100644 (file)
@@ -237,7 +237,7 @@ class PosixPathTest(unittest.TestCase):
                     ),
                     True
                 )
-                # If we don't have links, assume that os.stat doesn't return resonable 
+                # If we don't have links, assume that os.stat doesn't return resonable
                 # inode information and thus, that samefile() doesn't work
                 if hasattr(os, "symlink"):
                     os.symlink(
@@ -288,7 +288,7 @@ class PosixPathTest(unittest.TestCase):
                 ),
                 True
             )
-            # If we don't have links, assume that os.stat() doesn't return resonable 
+            # If we don't have links, assume that os.stat() doesn't return resonable
             # inode information and thus, that samefile() doesn't work
             if hasattr(os, "symlink"):
                 if hasattr(os, "symlink"):