Skip to content

Instantly share code, notes, and snippets.

@notmyname
Created September 25, 2015 21:47
def foo():
try:
yield 1
finally:
yield 2
for i in foo():
print i
break
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment