summaryrefslogtreecommitdiffstats
path: root/Lib/compiler/transformer.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/compiler/transformer.py')
-rw-r--r--Lib/compiler/transformer.py22
1 files changed, 11 insertions, 11 deletions
diff --git a/Lib/compiler/transformer.py b/Lib/compiler/transformer.py
index 0c6d148..581ab99 100644
--- a/Lib/compiler/transformer.py
+++ b/Lib/compiler/transformer.py
@@ -89,7 +89,7 @@ def Node(*args):
print nodes[kind], len(args), args
raise
else:
- raise WalkerEror, "Can't find appropriate Node type: %s" % str(args)
+ raise WalkerError, "Can't find appropriate Node type: %s" % str(args)
#return apply(ast.Node, args)
class Transformer:
@@ -165,7 +165,7 @@ class Transformer:
if n == symbol.classdef:
return self.classdef(node[1:])
- raise WalkerEror, ('unexpected node type', n)
+ raise WalkerError, ('unexpected node type', n)
def single_input(self, node):
### do we want to do anything about being "interactive" ?
@@ -314,31 +314,31 @@ class Transformer:
return Stmt(stmts)
def parameters(self, nodelist):
- raise WalkerEror
+ raise WalkerError
def varargslist(self, nodelist):
- raise WalkerEror
+ raise WalkerError
def fpdef(self, nodelist):
- raise WalkerEror
+ raise WalkerError
def fplist(self, nodelist):
- raise WalkerEror
+ raise WalkerError
def dotted_name(self, nodelist):
- raise WalkerEror
+ raise WalkerError
def comp_op(self, nodelist):
- raise WalkerEror
+ raise WalkerError
def trailer(self, nodelist):
- raise WalkerEror
+ raise WalkerError
def sliceop(self, nodelist):
- raise WalkerEror
+ raise WalkerError
def argument(self, nodelist):
- raise WalkerEror
+ raise WalkerError
# --------------------------------------------------------------
#