From 4f96f1f2b5068b8e8bd8d0f83f856b6e2883a3ab Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Sun, 11 Jun 2006 19:42:51 +0000 Subject: Whitespace normalization. --- Lib/ctypes/test/test_anon.py | 2 +- Lib/ctypes/test/test_varsize_struct.py | 2 +- Lib/idlelib/Bindings.py | 2 +- Lib/idlelib/PyShell.py | 4 +- Lib/idlelib/configHandler.py | 2 +- Lib/idlelib/macosxSupport.py | 72 +++++++++++++++++----------------- Lib/optparse.py | 4 +- Lib/test/test_textwrap.py | 2 +- Lib/textwrap.py | 8 ++-- 9 files changed, 49 insertions(+), 49 deletions(-) diff --git a/Lib/ctypes/test/test_anon.py b/Lib/ctypes/test/test_anon.py index 62e2ce7..99e02cb 100644 --- a/Lib/ctypes/test/test_anon.py +++ b/Lib/ctypes/test/test_anon.py @@ -49,7 +49,7 @@ class AnonTest(unittest.TestCase): ("_", ANON_U), ("y", c_int)] _anonymous_ = ["_"] - + self.failUnlessEqual(Y.x.offset, 0) self.failUnlessEqual(Y.a.offset, sizeof(c_int)) self.failUnlessEqual(Y.b.offset, sizeof(c_int)) diff --git a/Lib/ctypes/test/test_varsize_struct.py b/Lib/ctypes/test/test_varsize_struct.py index aa8930d..996a630 100644 --- a/Lib/ctypes/test/test_varsize_struct.py +++ b/Lib/ctypes/test/test_varsize_struct.py @@ -110,6 +110,6 @@ class VarSizeTest(unittest.TestCase): array[:5] = [10, 11, 12, 13, 14] self.failUnlessEqual(array[:], [10, 11, 12, 13, 14, 25, 26, 27, 28, 29, 0, 0, 0, 0, 0]) self.failUnlessEqual(varsize_array[0:10], [10, 11, 12, 13, 14, 25, 26, 27, 28, 29]) - + if __name__ == "__main__": unittest.main() diff --git a/Lib/idlelib/Bindings.py b/Lib/idlelib/Bindings.py index a695ab7..d24be3f 100644 --- a/Lib/idlelib/Bindings.py +++ b/Lib/idlelib/Bindings.py @@ -94,7 +94,7 @@ if sys.platform == 'darwin' and '.app' in sys.executable: del menudefs[0][1][-3:] menudefs[0][1].insert(6, closeItem) - # Remove the 'About' entry from the help menu, it is in the application + # Remove the 'About' entry from the help menu, it is in the application # menu del menudefs[-1][1][0:2] diff --git a/Lib/idlelib/PyShell.py b/Lib/idlelib/PyShell.py index 0edd2d1..f7622f1 100644 --- a/Lib/idlelib/PyShell.py +++ b/Lib/idlelib/PyShell.py @@ -1396,8 +1396,8 @@ def main(): if macosxSupport.runningAsOSXApp() and flist.dict: # On OSX: when the user has double-clicked on a file that causes - # IDLE to be launched the shell window will open just in front of - # the file she wants to see. Lower the interpreter window when + # IDLE to be launched the shell window will open just in front of + # the file she wants to see. Lower the interpreter window when # there are open files. shell.top.lower() diff --git a/Lib/idlelib/configHandler.py b/Lib/idlelib/configHandler.py index 5ae643a..826fb5d 100644 --- a/Lib/idlelib/configHandler.py +++ b/Lib/idlelib/configHandler.py @@ -500,7 +500,7 @@ class IdleConf: if macosxSupport.runningAsOSXApp(): # We're using AquaTk, replace all keybingings that use the - # Alt key by ones that use the Option key because the former + # Alt key by ones that use the Option key because the former # don't work reliably. for k, v in result.items(): v2 = [ x.replace('