circuitpython/tests/misc/recursion.py

8 lines
84 B
Python

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