93bb7dffd2
Fixes issue #1812.
14 lines
252 B
Python
14 lines
252 B
Python
# test continue within exception handler
|
|
|
|
def f():
|
|
lst = [1, 2, 3]
|
|
for x in lst:
|
|
print('a', x)
|
|
try:
|
|
if x == 2:
|
|
raise Exception
|
|
except Exception:
|
|
continue
|
|
print('b', x)
|
|
f()
|