Commit f0af0e7a authored by Georg Brandl's avatar Georg Brandl

patch [ 1231538 ] Typo fix in compiler/transformer.py (WalkerEror)

parent 376e6227
...@@ -89,7 +89,7 @@ def Node(*args): ...@@ -89,7 +89,7 @@ def Node(*args):
print nodes[kind], len(args), args print nodes[kind], len(args), args
raise raise
else: 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) #return apply(ast.Node, args)
class Transformer: class Transformer:
...@@ -165,7 +165,7 @@ class Transformer: ...@@ -165,7 +165,7 @@ class Transformer:
if n == symbol.classdef: if n == symbol.classdef:
return self.classdef(node[1:]) return self.classdef(node[1:])
raise WalkerEror, ('unexpected node type', n) raise WalkerError, ('unexpected node type', n)
def single_input(self, node): def single_input(self, node):
### do we want to do anything about being "interactive" ? ### do we want to do anything about being "interactive" ?
...@@ -316,31 +316,31 @@ class Transformer: ...@@ -316,31 +316,31 @@ class Transformer:
return Stmt(stmts) return Stmt(stmts)
def parameters(self, nodelist): def parameters(self, nodelist):
raise WalkerEror raise WalkerError
def varargslist(self, nodelist): def varargslist(self, nodelist):
raise WalkerEror raise WalkerError
def fpdef(self, nodelist): def fpdef(self, nodelist):
raise WalkerEror raise WalkerError
def fplist(self, nodelist): def fplist(self, nodelist):
raise WalkerEror raise WalkerError
def dotted_name(self, nodelist): def dotted_name(self, nodelist):
raise WalkerEror raise WalkerError
def comp_op(self, nodelist): def comp_op(self, nodelist):
raise WalkerEror raise WalkerError
def trailer(self, nodelist): def trailer(self, nodelist):
raise WalkerEror raise WalkerError
def sliceop(self, nodelist): def sliceop(self, nodelist):
raise WalkerEror raise WalkerError
def argument(self, nodelist): def argument(self, nodelist):
raise WalkerEror raise WalkerError
# -------------------------------------------------------------- # --------------------------------------------------------------
# #
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment