mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Add opcodes for floor division and true division (PEP 238)
This commit is contained in:
parent
4de8df92e9
commit
96d68d57be
1 changed files with 4 additions and 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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue