mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Fix typo in astgen script
This commit is contained in:
parent
3e2aca48bd
commit
9272b14d62
4 changed files with 4 additions and 4 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue