Created
March 31, 2014 07:14
-
-
Save wolph/9886934 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 spam(): | |
def spam(): | |
def spam(): | |
def spam(): | |
def spam(): | |
def spam(): | |
def spam(): | |
def spam(): | |
def spam(): | |
def spam(): | |
def spam(): | |
def spam(): | |
def spam(): | |
def spam(): | |
def spam(): | |
raise TypeError() | |
return spam() | |
return spam() | |
return spam() | |
return spam() | |
return spam() | |
return spam() | |
return spam() | |
return spam() | |
return spam() | |
return spam() | |
return spam() | |
return spam() | |
return spam() | |
return spam() | |
def call_failing_function(): | |
try: | |
spam() | |
except Exception, e: | |
print 'Well, it failed so lets reraise it later' | |
reraising_thing(e) | |
def reraising_thing(e): | |
raise | |
call_failing_function() | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment