aboutsummaryrefslogtreecommitdiffstats
path: root/lua/tests/indent/python/control_flow.py
blob: 543decc716d42209bf3aeac5e603c295b04460d3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
a, b, c, = 1, 2, 3

if a == a:
    x = 1
elif b:
    x = 2
else:
    x = 3

while False:
    pass

for _ in range(3):
    pass

with open('/tmp/f', 'w') as f:
    pass

try:
    pass
except:
    pass
finally:
    pass