summaryrefslogtreecommitdiff
path: root/pylint/test/input/func_operators.py
blob: 48606bf31e2f2606c13b5959aa28b244283f64a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
"""check operator use"""
#pylint: disable=C0103
#pylint: disable=W0104

__revision__ = 42

a = 1
a += 5
a = +a
b = ++a
++a
c = (++a) * b

a = 1
a -= 5
b = --a
b = a
--a
c = (--a) * b