summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/compiler/ast.py2
1 files changed, 1 insertions, 1 deletions
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 @@ 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):