[Python-checkins] python/nondist/sandbox/ast python.asdl,1.22,1.23

bckfnn@sourceforge.net bckfnn@sourceforge.net
Wed, 22 May 2002 04:07:07 -0700


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

Modified Files:
	python.asdl 
Log Message:
Added a 'step' field to Slice.



Index: python.asdl
===================================================================
RCS file: /cvsroot/python/python/nondist/sandbox/ast/python.asdl,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** python.asdl	22 Apr 2002 04:21:40 -0000	1.22
--- python.asdl	22 May 2002 11:07:04 -0000	1.23
***************
*** 71,76 ****
  	expr_context = Load | Store | Del | AugStore
  
!         slice = Ellipsis | Slice(expr? lower, expr? upper) 
! 	      -- maybe Slice and ExtSlice should be merged...
  	      | ExtSlice(slice* dims) 
  	      | Index(expr value) 
--- 71,75 ----
  	expr_context = Load | Store | Del | AugStore
  
! 	slice = Ellipsis | Slice(expr? lower, expr? upper, expr? step) 
  	      | ExtSlice(slice* dims) 
  	      | Index(expr value)