11 lines
211 B
Mojo
11 lines
211 B
Mojo
# 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")
|