summaryrefslogtreecommitdiffstats
path: root/Lib/compiler
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2003-04-06 09:01:11 (GMT)
committerRaymond Hettinger <python@rcn.com>2003-04-06 09:01:11 (GMT)
commitff41c48a77b7d1411ce97190c8b8405bdaa261e1 (patch)
tree94763135f421e0c32c6356e083c4d3521e43cd67 /Lib/compiler
parent50c61d5a6c2c551b31270d78b9e53ccef3fdf7a8 (diff)
downloadcpython-ff41c48a77b7d1411ce97190c8b8405bdaa261e1.zip
cpython-ff41c48a77b7d1411ce97190c8b8405bdaa261e1.tar.gz
cpython-ff41c48a77b7d1411ce97190c8b8405bdaa261e1.tar.bz2
SF patch #701494: more apply removals
Diffstat (limited to 'Lib/compiler')
-rw-r--r--Lib/compiler/transformer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/compiler/transformer.py b/Lib/compiler/transformer.py
index 9038f7e..9074fc7 100644
--- a/Lib/compiler/transformer.py
+++ b/Lib/compiler/transformer.py
@@ -72,7 +72,7 @@ def Node(*args):
kind = args[0]
if nodes.has_key(kind):
try:
- return apply(nodes[kind], args[1:])
+ return nodes[kind](*args[1:])
except TypeError:
print nodes[kind], len(args), args
raise