summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2001-08-14 21:18:30 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2001-08-14 21:18:30 (GMT)
commit9272b14d62bb7ebb5883085b44d4a0335f230604 (patch)
tree7929cc68376198d16cecce82db6c089f3f430b00 /Tools
parent3e2aca48bdd7ab433d5c90185b48950fa7dd620b (diff)
downloadcpython-9272b14d62bb7ebb5883085b44d4a0335f230604.zip
cpython-9272b14d62bb7ebb5883085b44d4a0335f230604.tar.gz
cpython-9272b14d62bb7ebb5883085b44d4a0335f230604.tar.bz2
Fix typo in astgen script
Diffstat (limited to 'Tools')
-rw-r--r--Tools/compiler/astgen.py2
-rw-r--r--Tools/compiler/compiler/ast.py2
-rw-r--r--Tools/compiler/compiler/astgen.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/Tools/compiler/astgen.py b/Tools/compiler/astgen.py
index fc92993..9386bf0 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 dda565c..4b6fd18 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 fc92993..9386bf0 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):