commit | 9272b14d62bb7ebb5883085b44d4a0335f230604 | [log] [tgz] |
---|---|---|
author | Jeremy Hylton <jeremy@alum.mit.edu> | Tue Aug 14 21:18:30 2001 +0000 |
committer | Jeremy Hylton <jeremy@alum.mit.edu> | Tue Aug 14 21:18:30 2001 +0000 |
tree | 7929cc68376198d16cecce82db6c089f3f430b00 | |
parent | 3e2aca48bdd7ab433d5c90185b48950fa7dd620b [diff] |
Fix typo in astgen script
diff --git a/Lib/compiler/ast.py b/Lib/compiler/ast.py index dda565c..4b6fd18 100644 --- a/Lib/compiler/ast.py +++ b/Lib/compiler/ast.py
@@ -41,7 +41,7 @@ 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):