xref: /Universal-ctags/Units/parser-python.r/simple.py.d/input.py (revision 6588776057cf429c29787f785c177a7457d511ae)
1"""A long string
2literal
3"""
4
5from bsddb import btopen
6
7# Public global constants
8
9VERSION = '1.2.0'
10
11# Flags for list() and children()
12ALL = 0xff
13KEY = 0x01
14TREEID = 0x02
15INDENT = 0x04
16DATA = 0x08 # Used by dbtreedata
17
18class one:
19
20    x = lambda x: x
21    y = 0
22
23    def __init__(self, filename, pathsep='', treegap=64):
24        """Another string
25    literal"""
26
27    def __private_function__(self, key, data):
28
29    def public_function(self, key):
30        class this_is_ignored:
31
32    def _pack(self, key):
33        pass
34    class so_is_this:
35
36def _test(test, code, outcome, exception):
37    def ignored_function():
38        def more_nesting():
39            class deeply_nested():
40                def even_more():
41                    @blah class this is seen???
42                        @bleh def this also? good!
43
44if __name__ == '__main__':
45
46class two (one):
47
48    def only(arg):
49
50# line continuation
51class\
52three\
53(A, B,
54C):
55
56def\
57foo(
58x
59,
60y,    z):
61