diff options
author | Georg Brandl <georg@python.org> | 2005-07-02 18:38:12 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2005-07-02 18:38:12 (GMT) |
commit | 0e077073b7ba4fb11a4def0f5e18e6fd63d95e88 (patch) | |
tree | 5bfdeec508e6b22bb1b0bf8e9c571869bbf817fa | |
parent | 6259594fee53a0c4266f103f7c07b2ad5552236d (diff) | |
download | cpython-0e077073b7ba4fb11a4def0f5e18e6fd63d95e88.zip cpython-0e077073b7ba4fb11a4def0f5e18e6fd63d95e88.tar.gz cpython-0e077073b7ba4fb11a4def0f5e18e6fd63d95e88.tar.bz2 |
backport patch [ 1231538 ] Typo fix in compiler/transformer.py (WalkerEror)
-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 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 # -------------------------------------------------------------- # |