Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b4e730 commit c9abf9cCopy full SHA for c9abf9c
exception.py
@@ -3,6 +3,7 @@
3
import sys;
4
try:
5
1/0;
6
+ # raise BaseException('...'); 抛出异常
7
except :# 所有异常
8
print "Unexpected error:", sys.exc_info()[0]
9
else:
0 commit comments