micropython/tests/bytecode/mp-tests/try1.py

14 lines
179 B
Python

def f(x):
try:
f(x)
except:
f(x)
try:
f(x)
except Exception:
f(x)
try:
f(x)
except Exception as e:
f(x, e)