diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2001-08-14 21:18:30 +0000 |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2001-08-14 21:18:30 +0000 |
commit | 672abe2357022c3a53128c82b9c563fccf5700e2 (patch) | |
tree | 41163d356c4b36b32cd2ae255de2acf0790350c5 /Lib/compiler | |
parent | 97fe9c14a9320a77b510b2f31acdfd444f8ad090 (diff) | |
download | cpython-672abe2357022c3a53128c82b9c563fccf5700e2.tar.gz |
Fix typo in astgen script
Diffstat (limited to 'Lib/compiler')
-rw-r--r-- | Lib/compiler/ast.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/compiler/ast.py b/Lib/compiler/ast.py index dda565cf72..4b6fd1889b 100644 --- a/Lib/compiler/ast.py +++ b/Lib/compiler/ast.py @@ -41,7 +41,7 @@ class Node: def asList(self): return tuple(asList(self.getChildren())) def getChildNodes(self): - return [n for n in self.getChildnre() if isinstance(n, Node)] + return [n for n in self.getChildren() if isinstance(n, Node)] class EmptyNode(Node): def __init__(self): |