[Python-checkins] python/nondist/sandbox/ast python.asdl,1.20,1.21

bckfnn@sourceforge.net bckfnn@sourceforge.net
Sun, 21 Apr 2002 04:39:51 -0700


Update of /cvsroot/python/python/nondist/sandbox/ast
In directory usw-pr-cvs1:/tmp/cvs-serv6930

Modified Files:
	python.asdl 
Log Message:
Changed the Num() argument to use 'object'.

This breaks the C codegen, I'm sorry about that.


Index: python.asdl
===================================================================
RCS file: /cvsroot/python/python/nondist/sandbox/ast/python.asdl,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** python.asdl	21 Apr 2002 11:37:15 -0000	1.20
--- python.asdl	21 Apr 2002 11:39:48 -0000	1.21
***************
*** 58,62 ****
  			 expr? starargs, expr? kwargs)
  	     | Repr(expr value)
! 	     | Num(string n) -- string representation of a number
  	     | Str(string s) -- need to specify raw, unicode, etc?
  	     -- other literals? bools?
--- 58,62 ----
  			 expr? starargs, expr? kwargs)
  	     | Repr(expr value)
! 	     | Num(object n) -- a number as a PyObject.
  	     | Str(string s) -- need to specify raw, unicode, etc?
  	     -- other literals? bools?