]> granicus.if.org Git - python/commitdiff
Add opcodes for floor division and true division (PEP 238)
authorJeremy Hylton <jeremy@alum.mit.edu>
Wed, 29 Aug 2001 18:02:21 +0000 (18:02 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Wed, 29 Aug 2001 18:02:21 +0000 (18:02 +0000)
Lib/dis.py

index 6a9d5cd2ea42545a70d24a094745b455f6be8520..6b4c67f87e94b875a3a0ca6adbcf6bd9dcf73ddc 100644 (file)
@@ -175,6 +175,10 @@ def_op('BINARY_MODULO', 22)
 def_op('BINARY_ADD', 23)
 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)
 def_op('SLICE+1', 31)