Kaydet (Commit) 9272b14d authored tarafından Jeremy Hylton's avatar Jeremy Hylton

Fix typo in astgen script

üst 3e2aca48
......@@ -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):
......
......@@ -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):
......
......@@ -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):
......
......@@ -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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment