Files
openide/python/testData/inspections/PyUnboundLocalVariableInspection/ForBreakElse.py
T

9 lines
127 B
Python

def f(c):
for i in [1, 2, 3]:
if c:
x = 0
break
else:
x = 1
return x #pass