micropython/tests/stress/recursion.py

8 wiersze
84 B
Python

def foo():
foo()
try:
foo()
except RuntimeError:
print("RuntimeError")