xref: /Universal-ctags/Units/parser-python.r/python-semicolon.d/input.py (revision cf4e7a83eb1fcad8c4c8944f7799f77448e7aa46)
1
2VAR1 = 1; VAR2 = 2;
3
4class Cls:
5    memb1 = 1; memb2 = 2
6
7    def func(): pass;
8
9    @staticmethod
10    def func2(x): x += 1; y = x + 1; return y;
11
12
13assert(VAR1 == 1)
14assert(VAR2 == 2)
15assert(Cls.memb1 == 1)
16assert(Cls.memb2 == 2)
17assert(Cls.func2(2) == 4)
18