mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
the names attribute of Global is not a node
This commit is contained in:
parent
ad2dc3fc44
commit
fff252d20d
4 changed files with 4 additions and 4 deletions
|
@ -146,7 +146,7 @@ class Global(Node):
|
|||
return self.names,
|
||||
|
||||
def getChildNodes(self):
|
||||
return self.names,
|
||||
return ()
|
||||
|
||||
def __repr__(self):
|
||||
return "Global(%s)" % (repr(self.names),)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue