From: Jeremy Hylton Date: Tue, 14 Aug 2001 21:18:30 +0000 (+0000) Subject: Fix typo in astgen script X-Git-Tag: v2.2a3~557 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9272b14d62bb7ebb5883085b44d4a0335f230604;p=thirdparty%2FPython%2Fcpython.git Fix typo in astgen script --- diff --git a/Lib/compiler/ast.py b/Lib/compiler/ast.py index dda565cf72ca..4b6fd1889be5 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): diff --git a/Tools/compiler/astgen.py b/Tools/compiler/astgen.py index fc929936cdc1..9386bf04a67a 100644 --- a/Tools/compiler/astgen.py +++ b/Tools/compiler/astgen.py @@ -172,7 +172,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): diff --git a/Tools/compiler/compiler/ast.py b/Tools/compiler/compiler/ast.py index dda565cf72ca..4b6fd1889be5 100644 --- a/Tools/compiler/compiler/ast.py +++ b/Tools/compiler/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): diff --git a/Tools/compiler/compiler/astgen.py b/Tools/compiler/compiler/astgen.py index fc929936cdc1..9386bf04a67a 100644 --- a/Tools/compiler/compiler/astgen.py +++ b/Tools/compiler/compiler/astgen.py @@ -172,7 +172,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):