[Python-checkins] CVS: python/dist/src/Lib tokenize.py,1.13,1.14

Thomas Wouters python-dev@python.org
Thu, 24 Aug 2000 14:44:55 -0700


Update of /cvsroot/python/python/dist/src/Lib
In directory slayer.i.sourceforge.net:/tmp/cvs-serv4997/Lib

Modified Files:
	tokenize.py 
Log Message:

Update for augmented assignment, tested & approved by Guido.



Index: tokenize.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/tokenize.py,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** tokenize.py	2000/08/17 04:45:13	1.13
--- tokenize.py	2000/08/24 21:44:52	1.14
***************
*** 55,60 ****
                 '[rR]?"' + any(r'[^\n"\\]', r'\\.') + '"')
  
! Operator = group('\+', '\-', '\*\*', '\*', '\^', '~', '/', '%', '&', '\|',
!                  '<<', '>>', '==', '<=', '<>', '!=', '>=', '=', '<', '>')
  Bracket = '[][(){}]'
  Special = group(r'\r?\n', r'[:;.,`]')
--- 55,63 ----
                 '[rR]?"' + any(r'[^\n"\\]', r'\\.') + '"')
  
! Operator = group('\+=', '\-=', '\*=', '%=', '/=', '\*\*=', '&=', '\|=',
!                  '\^=', '>>=', '<<=', '\+', '\-', '\*\*', '\*', '\^', '~',
!                  '/', '%', '&', '\|', '<<', '>>', '==', '<=', '<>', '!=',
!                  '>=', '=', '<', '>')
! 
  Bracket = '[][(){}]'
  Special = group(r'\r?\n', r'[:;.,`]')