diff options
author | Martin Blais <blais@furius.ca> | 2006-06-06 12:46:55 +0000 |
---|---|---|
committer | Martin Blais <blais@furius.ca> | 2006-06-06 12:46:55 +0000 |
commit | 06de3078e0d593dc8438f822edd0a63377179d1b (patch) | |
tree | 5afc666caa43f1001d921d7bec4dacdd3a6091fe /Lib/plat-mac | |
parent | ec35227e88980c14681ad4032eed08e4f8cb50a9 (diff) | |
download | cpython-06de3078e0d593dc8438f822edd0a63377179d1b.tar.gz |
Normalized a few cases of whitespace in function declarations.
Found them using::
find . -name '*.py' | while read i ; do grep 'def[^(]*( ' $i /dev/null ; done
find . -name '*.py' | while read i ; do grep ' ):' $i /dev/null ; done
(I was doing this all over my own code anyway, because I'd been using spaces in
all defs, so I thought I'd make a run on the Python code as well. If you need
to do such fixes in your own code, you can use xx-rename or parenregu.el within
emacs.)
Diffstat (limited to 'Lib/plat-mac')
-rw-r--r-- | Lib/plat-mac/EasyDialogs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/plat-mac/EasyDialogs.py b/Lib/plat-mac/EasyDialogs.py index c622d302f4..b33d1be548 100644 --- a/Lib/plat-mac/EasyDialogs.py +++ b/Lib/plat-mac/EasyDialogs.py @@ -262,7 +262,7 @@ class ProgressBar: self.w.ShowWindow() self.d.DrawDialog() - def __del__( self ): + def __del__(self): if self.w: self.w.BringToFront() self.w.HideWindow() @@ -274,7 +274,7 @@ class ProgressBar: self.w.BringToFront() self.w.SetWTitle(newstr) - def label( self, *newstr ): + def label(self, *newstr): """label(text) - Set text in progress box""" self.w.BringToFront() if newstr: |