Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- In [2]: try:
- ...: raise Exception("foo")
- ...: except Exception:
- ...: raise Exception("bar")
- ...: finally:
- ...: print "hello"
- ...:
- hello
- ---------------------------------------------------------------------------
- Exception Traceback (most recent call last)
- /home/jason/txt/<ipython console> in <module>()
- Exception: bar
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement