This commit is contained in:
commit
568474d52f
1591 files changed
+528213
No files matched your search
@@ -0,0 +1,10 @@
|
||||
# probe: the order of try, except and finally
|
||||
def main():
|
||||
try:
|
||||
print("try")
|
||||
raise Error("x")
|
||||
except e:
|
||||
print("except", e)
|
||||
finally:
|
||||
print("finally")
|
||||
print("after")
|
||||
Reference in new issue
Block a user