Skip to content

Instantly share code, notes, and snippets.

@graingert
Created September 18, 2013 09:24
Show Gist options
  • Save graingert/6606699 to your computer and use it in GitHub Desktop.
Save graingert/6606699 to your computer and use it in GitHub Desktop.
>>> 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