Created
April 24, 2014 22:14
finally_always_guaranteed
This file contains hidden or 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 foo(): | |
try: | |
return True | |
except: | |
pass | |
else: | |
return False |
This file contains hidden or 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 foo(): | |
try: | |
return True | |
except: | |
pass | |
finally: | |
return False |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment