micropython: add micropython component
This commit is contained in:
17
components/language/micropython/tests/basics/try3.py
Normal file
17
components/language/micropython/tests/basics/try3.py
Normal file
@@ -0,0 +1,17 @@
|
||||
# nested exceptions
|
||||
|
||||
def f():
|
||||
try:
|
||||
foo()
|
||||
except:
|
||||
print("except 1")
|
||||
try:
|
||||
baz()
|
||||
except:
|
||||
print("except 2")
|
||||
bar()
|
||||
|
||||
try:
|
||||
f()
|
||||
except:
|
||||
print("f except")
|
Reference in New Issue
Block a user