circuitpython/tests/misc/recursion.py

8 lines
84 B
Python
Raw Normal View History

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