diff options
author | Georg Brandl <georg@python.org> | 2005-07-02 18:37:41 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2005-07-02 18:37:41 (GMT) |
commit | f0af0e7a466797d9ed3fa7d635b9b1e91d5c2674 (patch) | |
tree | 2c32872ea374d15cdd3abd2fe7fdde4dea62ea49 /Lib/compiler/transformer.py | |
parent | 376e6227b4a9e5d9501ab7ab8fce34b2f449afb1 (diff) | |
download | cpython-f0af0e7a466797d9ed3fa7d635b9b1e91d5c2674.zip cpython-f0af0e7a466797d9ed3fa7d635b9b1e91d5c2674.tar.gz cpython-f0af0e7a466797d9ed3fa7d635b9b1e91d5c2674.tar.bz2 |
patch [ 1231538 ] Typo fix in compiler/transformer.py (WalkerEror)
Diffstat (limited to 'Lib/compiler/transformer.py')
-rw-r--r-- | Lib/compiler/transformer.py | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/Lib/compiler/transformer.py b/Lib/compiler/transformer.py index dfa25b8..5844bb5 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" ? @@ -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 # -------------------------------------------------------------- # |