File: format.py

package info (click to toggle)
logilab-astng 0.24.3-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 700 kB
  • ctags: 1,300
  • sloc: python: 7,563; makefile: 56; sh: 15
file content (34 lines) | stat: -rw-r--r-- 421 bytes parent folder | download | duplicates (19)
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
30
31
32
33
34
"""A multiline string
"""

function('aeozrijz\
earzer', hop)
# XXX write test
x = [i for i in range(5)
     if i % 4]

fonction(1,
         2,
         3,
         4)

def definition(a,
               b,
               c):
    return a + b + c

class debile(dict,
             object):
    pass

if aaaa: pass
else:
    aaaa,bbbb = 1,2
    aaaa,bbbb = bbbb,aaaa
# XXX write test
hop = \
    aaaa


__revision__.lower();