diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2001-08-29 18:02:21 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2001-08-29 18:02:21 (GMT) |
commit | 96d68d57bebd8e9d7d1f5bcd00e63df5a0cbc915 (patch) | |
tree | eac481a111a8020c037aec9258a90e689331937a /Lib | |
parent | 4de8df92e93ef2dd08064f6b8ebea59738f189c5 (diff) | |
download | cpython-96d68d57bebd8e9d7d1f5bcd00e63df5a0cbc915.zip cpython-96d68d57bebd8e9d7d1f5bcd00e63df5a0cbc915.tar.gz cpython-96d68d57bebd8e9d7d1f5bcd00e63df5a0cbc915.tar.bz2 |
Add opcodes for floor division and true division (PEP 238)
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/dis.py | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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) |