summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_builtin.py
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 /Lib/test/test_builtin.py
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 'Lib/test/test_builtin.py')
-rw-r--r--Lib/test/test_builtin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_builtin.py b/Lib/test/test_builtin.py
index ed28153..dcc565a 100644
--- a/Lib/test/test_builtin.py
+++ b/Lib/test/test_builtin.py
@@ -362,7 +362,7 @@ class BuiltinTest(unittest.TestCase):
_cells = {}
def __setitem__(self, key, formula):
self._cells[key] = formula
- def __getitem__(self, key ):
+ def __getitem__(self, key):
return eval(self._cells[key], globals(), self)
ss = SpreadSheet()