summaryrefslogtreecommitdiff
path: root/Tools/compiler/astgen.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2004-07-18 06:16:08 +0000
committerTim Peters <tim.peters@gmail.com>2004-07-18 06:16:08 +0000
commitc71fe97a2c07d09144fd634f442a8ad29c84e0c0 (patch)
treea3058fb9abd3146b5bafd435e449cce2df397876 /Tools/compiler/astgen.py
parentacbad78022027cf7d94c4b9d60b1a1f44441ad93 (diff)
downloadcpython-c71fe97a2c07d09144fd634f442a8ad29c84e0c0.tar.gz
Whitespace normalization, via reindent.py.
Diffstat (limited to 'Tools/compiler/astgen.py')
-rw-r--r--Tools/compiler/astgen.py4
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: