Skip to content

Instantly share code, notes, and snippets.

@dhruvbaldawa
Created April 24, 2014 22:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dhruvbaldawa/11271318 to your computer and use it in GitHub Desktop.
Save dhruvbaldawa/11271318 to your computer and use it in GitHub Desktop.
finally_always_guaranteed
def foo():
try:
return True
except:
pass
else:
return False
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