Commit 9ea0fbc6 authored by Guido van Rossum's avatar Guido van Rossum

Unmerged except and finally clauses

parent 8899a9ca
......@@ -19,10 +19,11 @@ fp.close()
fp = open(TESTFN, 'r')
savestdin = sys.stdin
try:
sys.stdin = fp
x = raw_input()
except EOFError:
pass
try:
sys.stdin = fp
x = raw_input()
except EOFError:
pass
finally:
sys.stdin = savestdin
fp.close()
......
......@@ -14,7 +14,6 @@ for i in range(10):
except NameError: pass
except ZeroDivisionError: pass
except TypeError: pass
finally: pass
try: pass
except: pass
try: pass
......
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