From 672abe2357022c3a53128c82b9c563fccf5700e2 Mon Sep 17 00:00:00 2001 From: Jeremy Hylton Date: Tue, 14 Aug 2001 21:18:30 +0000 Subject: Fix typo in astgen script --- Lib/compiler/ast.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/compiler') 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): -- cgit v1.2.1