mirror of
https://github.com/W3SLAV/micropython.git
synced 2025-06-20 20:45:35 -04:00
18 lines
226 B
Python
18 lines
226 B
Python
# nested exceptions
|
|
|
|
def f():
|
|
try:
|
|
foo()
|
|
except:
|
|
print("except 1")
|
|
try:
|
|
baz()
|
|
except:
|
|
print("except 2")
|
|
bar()
|
|
|
|
try:
|
|
f()
|
|
except:
|
|
print("f except")
|