[Python-checkins] CVS: python/dist/src/Tools/compiler/compiler ast.py,1.16,1.17 ast.txt,1.3,1.4
Jeremy Hylton
jhylton@users.sourceforge.net
Fri, 14 Sep 2001 15:40:38 -0700
Update of /cvsroot/python/python/dist/src/Tools/compiler/compiler
In directory usw-pr-cvs1:/tmp/cvs-serv22380
Modified Files:
ast.py ast.txt
Log Message:
the names attribute of Global is not a node
Index: ast.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Tools/compiler/compiler/ast.py,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** ast.py 2001/08/29 18:08:02 1.16
--- ast.py 2001/09/14 22:40:36 1.17
***************
*** 147,151 ****
def getChildNodes(self):
! return self.names,
def __repr__(self):
--- 147,151 ----
def getChildNodes(self):
! return ()
def __repr__(self):
Index: ast.txt
===================================================================
RCS file: /cvsroot/python/python/dist/src/Tools/compiler/compiler/ast.txt,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** ast.txt 2001/08/29 18:08:02 1.3
--- ast.txt 2001/09/14 22:40:36 1.4
***************
*** 44,48 ****
Compare: expr, ops!
Name: name*
! Global: names
Backquote: expr
Getattr: expr, attrname*
--- 44,48 ----
Compare: expr, ops!
Name: name*
! Global: names*
Backquote: expr
Getattr: expr, attrname*