Commit 1b3b70ce authored by Robert Bradshaw's avatar Robert Bradshaw

Another test for try-break.

parent 40370fbb
__doc__ = u"""
>>> foo()
'a'
"""
# Indirectly makes sure the cleanup happens correctly on breaking.
def foo():
for x in "abc":
try:
x()
except:
break
for x in "abc":
try:
x()
except:
return x
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment