[Python-checkins] CVS: python/dist/src/Lib dis.py,1.36,1.37

Jeremy Hylton jhylton@users.sourceforge.net
Wed, 29 Aug 2001 11:02:23 -0700


Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv10418

Modified Files:
	dis.py 
Log Message:
Add opcodes for floor division and true division (PEP 238)


Index: dis.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/dis.py,v
retrieving revision 1.36
retrieving revision 1.37
diff -C2 -d -r1.36 -r1.37
*** dis.py	2001/08/28 15:32:48	1.36
--- dis.py	2001/08/29 18:02:21	1.37
***************
*** 176,179 ****
--- 176,183 ----
  def_op('BINARY_SUBTRACT', 24)
  def_op('BINARY_SUBSCR', 25)
+ def_op('BINARY_FLOOR_DIVIDE', 26)
+ def_op('BINARY_TRUE_DIVIDE', 27)
+ def_op('INPLACE_FLOOR_DIVIDE', 28)
+ def_op('INPLACE_TRUE_DIVIDE', 29)
  
  def_op('SLICE+0', 30)