Fix typo in astgen script

This commit is contained in:
Jeremy Hylton 2001-08-14 21:18:30 +00:00
parent 3e2aca48bd
commit 9272b14d62
4 changed files with 4 additions and 4 deletions

View file

@ -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):