aboutsummaryrefslogtreecommitdiffstats
path: root/tests/indent/python/branches.py
blob: 7ce106bd7edaa7f042e01a4e2fb97dbb1a62c570 (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
25
26
27
a = [
    1, 2, 3]

b = [
    x + 1
    for x in range(3)]

c = [[[
    1
]]]

d = [[[
    4]]]

e = [[
    1], 2, 3]

def foo(x, y):
    pass

foo(
    a,
    b)

if (a and
        b):
    pass