Created
February 3, 2015 15:20
-
-
Save hvnsweeting/f5db74208221e9a9ea69 to your computer and use it in GitHub Desktop.
exception is discarded if break run in finally
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 output_test(): | |
for i in xrange(3): | |
try: | |
1/0 | |
finally: | |
break | |
output_test() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment