Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6e21ceb

Browse files
committed
New opcodes BINARY_POWER, RAISE_VARARGS, CALL_FUNCTION, MAKE_FUNCTION
1 parent 7a1c791 commit 6e21ceb

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Lib/dis.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ def jabs_op(name, op):
101101
def_op('UNARY_CALL', 14)
102102
def_op('UNARY_INVERT', 15)
103103

104+
def_op('BINARY_POWER', 19)
104105
def_op('BINARY_MULTIPLY', 20)
105106
def_op('BINARY_DIVIDE', 21)
106107
def_op('BINARY_MODULO', 22)
@@ -188,3 +189,7 @@ def jabs_op(name, op):
188189

189190
def_op('SET_LINENO', 127) # Current line number
190191
SET_LINENO = 127
192+
193+
def_op('RAISE_VARARGS', 130)
194+
def_op('CALL_FUNCTION', 131)
195+
def_op('MAKE_FUNCTION', 132)

0 commit comments

Comments
 (0)