summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorMartin Blais <blais@furius.ca>2006-06-06 12:46:55 (GMT)
committerMartin Blais <blais@furius.ca>2006-06-06 12:46:55 (GMT)
commit215f13dd118f67fb8c3d3663dbbe11ed33691c4f (patch)
treeb7bb6619005efdc2fb00c9e1b912fc0e75dc2be4 /Tools
parent07347d6efc84f06e65c0e55b8906a8e6579bfc4a (diff)
downloadcpython-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 'Tools')
-rwxr-xr-xTools/webchecker/webchecker.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/webchecker/webchecker.py b/Tools/webchecker/webchecker.py
index d918a0c..e2b4c71 100755
--- a/Tools/webchecker/webchecker.py
+++ b/Tools/webchecker/webchecker.py
@@ -784,7 +784,7 @@ class MyHTMLParser(sgmllib.SGMLParser):
self.url = url
sgmllib.SGMLParser.__init__(self)
- def check_name_id( self, attributes ):
+ def check_name_id(self, attributes):
""" Check the name or id attributes on an element.
"""
# We must rescue the NAME or id (name is deprecated in XHTML)
@@ -799,7 +799,7 @@ class MyHTMLParser(sgmllib.SGMLParser):
else: self.names.append(value)
break
- def unknown_starttag( self, tag, attributes ):
+ def unknown_starttag(self, tag, attributes):
""" In XHTML, you can have id attributes on any element.
"""
self.check_name_id(attributes)