diff options
author | Tim Peters <tim.peters@gmail.com> | 2004-07-18 06:16:08 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2004-07-18 06:16:08 (GMT) |
commit | 182b5aca27d376b08a2904bed42b751496f932f3 (patch) | |
tree | df13115820dbc879c0fe2eae488c9f8c0215a7da /Tools/compiler/demo.py | |
parent | e6ddc8b20b493fef2e7cffb2e1351fe1d238857e (diff) | |
download | cpython-182b5aca27d376b08a2904bed42b751496f932f3.zip cpython-182b5aca27d376b08a2904bed42b751496f932f3.tar.gz cpython-182b5aca27d376b08a2904bed42b751496f932f3.tar.bz2 |
Whitespace normalization, via reindent.py.
Diffstat (limited to 'Tools/compiler/demo.py')
-rwxr-xr-x | Tools/compiler/demo.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Tools/compiler/demo.py b/Tools/compiler/demo.py index e9ada5a..61c54ee 100755 --- a/Tools/compiler/demo.py +++ b/Tools/compiler/demo.py @@ -14,7 +14,7 @@ class MethodFinder: Each visit method takes two arguments, the node and its current scope. The scope is the name of the current class or None. """ - + def visitClass(self, node, scope=None): self.visit(node.code, node.name) @@ -22,7 +22,7 @@ class MethodFinder: if scope is not None: print "%s.%s" % (scope, node.name) self.visit(node.code, None) - + def main(files): mf = MethodFinder() for file in files: @@ -34,5 +34,5 @@ def main(files): if __name__ == "__main__": import sys - + main(sys.argv[1:]) |