Files
openide/python/testData/codeInsight/controlflow/while.py
Semyon Proshev ea9c2c9415 Reuse if-statements approach for while-statements to understand when and where condition is succeeded/failed (PY-39262)
It allows to assume that under `and` condition all sub-conditions are satisfied.

GitOrigin-RevId: f58ed2706d7eb9c1595415cce57cb8020011b57a
2021-03-23 11:45:13 +00:00

24 lines
208 B
Python

while c1:
x = 1
else:
y = 1
while c2:
a = 1
break
b = 1
else:
c = 1
while c3:
m = 1
if m:
break
n = 1
else:
o = 1
while c4:
m = 1
if m:
break