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

This commit is contained in:
Georg Brandl 2005-07-02 18:37:41 +00:00
parent 376e6227b4
commit f0af0e7a46
1 changed files with 11 additions and 11 deletions

View File

@ -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" ?
@ -316,31 +316,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
# --------------------------------------------------------------
#