mirror of
https://github.com/python/cpython.git
synced 2025-07-31 23:23:11 +00:00
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.)
This commit is contained in:
parent
07347d6efc
commit
215f13dd11
10 changed files with 49 additions and 49 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue