diff options
author | Tim Peters <tim.peters@gmail.com> | 2004-07-18 06:16:08 +0000 |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2004-07-18 06:16:08 +0000 |
commit | 182b5aca27d376b08a2904bed42b751496f932f3 (patch) | |
tree | df13115820dbc879c0fe2eae488c9f8c0215a7da /Tools/compiler/astgen.py | |
parent | e6ddc8b20b493fef2e7cffb2e1351fe1d238857e (diff) | |
download | cpython-182b5aca27d376b08a2904bed42b751496f932f3.tar.gz cpython-182b5aca27d376b08a2904bed42b751496f932f3.zip |
Whitespace normalization, via reindent.py.
Diffstat (limited to 'Tools/compiler/astgen.py')
-rw-r--r-- | Tools/compiler/astgen.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/compiler/astgen.py b/Tools/compiler/astgen.py index 90201d31e35..08d501bc3ce 100644 --- a/Tools/compiler/astgen.py +++ b/Tools/compiler/astgen.py @@ -88,7 +88,7 @@ class NodeInfo: self.args = self.args.replace('*', '') self.args = self.args.replace('!', '') self.args = self.args.replace('&', '') - + return d def gen_source(self): @@ -158,7 +158,7 @@ class NodeInfo: template = " nodes.%s(%sself.%s%s)" for name in self.argnames: if self.argprops[name] == P_NONE: - tmp = (" if self.%s is not None:" + tmp = (" if self.%s is not None:" " nodes.append(self.%s)") print >> buf, tmp % (name, name) elif self.argprops[name] == P_NESTED: |