micropython/tests/stress/recursion.py

9 wiersze
85 B
Python

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