circuitpython/tests/micropython/decorator.py

10 lines
107 B
Python

# test micropython-specific decorators
@micropython.bytecode
def f():
return "bytecode"
print(f())