Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 237 Bytes

README.md

File metadata and controls

16 lines (13 loc) · 237 Bytes

bytecode

Write python functions directly with bytecode

>>> import bytecode
>>> @bytecode.bytecode()
... def sum(a, b):
...     LOAD_FAST, 0
...     LOAD_FAST, 1
...     BINARY_ADD
...     RETURN_VALUE

>>> sum(5, 6)
11