diff options
author | Martin Blais <blais@furius.ca> | 2006-06-06 12:46:55 (GMT) |
---|---|---|
committer | Martin Blais <blais@furius.ca> | 2006-06-06 12:46:55 (GMT) |
commit | 215f13dd118f67fb8c3d3663dbbe11ed33691c4f (patch) | |
tree | b7bb6619005efdc2fb00c9e1b912fc0e75dc2be4 /Lib/lib-tk | |
parent | 07347d6efc84f06e65c0e55b8906a8e6579bfc4a (diff) | |
download | cpython-215f13dd118f67fb8c3d3663dbbe11ed33691c4f.zip cpython-215f13dd118f67fb8c3d3663dbbe11ed33691c4f.tar.gz cpython-215f13dd118f67fb8c3d3663dbbe11ed33691c4f.tar.bz2 |
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/lib-tk')
-rwxr-xr-x | Lib/lib-tk/Tix.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/lib-tk/Tix.py b/Lib/lib-tk/Tix.py index 14c3c24..33ac519 100755 --- a/Lib/lib-tk/Tix.py +++ b/Lib/lib-tk/Tix.py @@ -468,7 +468,7 @@ class DisplayStyle: """DisplayStyle - handle configuration options shared by (multiple) Display Items""" - def __init__(self, itemtype, cnf={}, **kw ): + def __init__(self, itemtype, cnf={}, **kw): master = _default_root # global from Tkinter if not master and cnf.has_key('refwindow'): master=cnf['refwindow'] elif not master and kw.has_key('refwindow'): master= kw['refwindow'] @@ -480,7 +480,7 @@ class DisplayStyle: def __str__(self): return self.stylename - def _options(self, cnf, kw ): + def _options(self, cnf, kw): if kw and cnf: cnf = _cnfmerge((cnf, kw)) elif kw: |