Created
September 18, 2013 09:24
-
-
Save graingert/6606699 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>> def f(): | |
... try: | |
... g() | |
... except: | |
... raise | |
... | |
>>> def g(): | |
... try: | |
... 1/0 | |
... except: | |
... raise | |
... | |
>>> f() | |
Traceback (most recent call last): | |
File "<stdin>", line 1, in <module> | |
File "<stdin>", line 3, in f | |
File "<stdin>", line 3, in g | |
ZeroDivisionError: division by zero |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment