[Python-checkins] python/dist/src/Parser asdl.py,1.1.2.1,1.1.2.2

jhylton at users.sourceforge.net jhylton at users.sourceforge.net
Tue Apr 13 10:53:37 EDT 2004


Update of /cvsroot/python/python/dist/src/Parser
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15451/Parser

Modified Files:
      Tag: ast-branch
	asdl.py 
Log Message:
Fix Field repr().


Index: asdl.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Parser/Attic/asdl.py,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -d -r1.1.2.1 -r1.1.2.2
*** asdl.py	7 Jul 2002 17:34:44 -0000	1.1.2.1
--- asdl.py	13 Apr 2004 14:53:30 -0000	1.1.2.2
***************
*** 253,257 ****
              return "Field(%s%s)" % (self.type, extra)
          else:
!             return "Field(%s, %s,%s)" % (self.type, self.name, extra)
  
  class Sum(AST):
--- 253,257 ----
              return "Field(%s%s)" % (self.type, extra)
          else:
!             return "Field(%s, %s%s)" % (self.type, self.name, extra)
  
  class Sum(AST):




More information about the Python-checkins mailing list