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 | c71fe97a2c07d09144fd634f442a8ad29c84e0c0 (patch) | |
tree | a3058fb9abd3146b5bafd435e449cce2df397876 /Tools/compiler/astgen.py | |
parent | acbad78022027cf7d94c4b9d60b1a1f44441ad93 (diff) | |
download | cpython-c71fe97a2c07d09144fd634f442a8ad29c84e0c0.tar.gz |
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 90201d31e3..08d501bc3c 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: |