This website requires JavaScript.
Explore
Help
Sign In
djsundog
/
circuitpython
Watch
1
Star
0
Fork
You've already forked circuitpython
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
9dbb6fdb38
circuitpython
/
tests
/
basics
/
try_error.py
18 lines
216 B
Python
Raw
Blame
History
# test bad exception match
try
:
try
:
a
except
1
:
pass
except
TypeError
:
print
(
"
TypeError
"
)
try
:
try
:
a
except
(
1
,
)
:
pass
except
TypeError
:
print
(
"
TypeError
"
)
Reference in New Issue
View Git Blame
Copy Permalink