summaryrefslogtreecommitdiff
path: root/test/lisp/align-resources/python-mode.erts
blob: 1ce50b32dbabca2c9c13ac1e537a5154677e91c6 (plain)
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
28
29
Name: align assignments

=-=
foo = "bar"
x = 1
zzzzz = True
y        = None
=-=
foo   = "bar"
x     = 1
zzzzz = True
y     = None
=-=-=

Name: python-chain-logic and basic-line-continuation

=-=
if foo or\
   b and \
   bcxxx and \
   c:
    pass
=-=
if foo   or  \
   b     and \
   bcxxx and \
   c:
    pass
=-=-=