micropython/tests/basics/fun_str.py

6 lines
60 B
Python

# test str of function
def f():
pass
print(str(f)[:8])