summaryrefslogtreecommitdiff
path: root/test/input/func_w0202.py
blob: 00b5b0fbb675f7552d1751f789c80a04e5d008ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
"""check static method with self or cls as first argument"""

__revision__ = None

class Abcd(object):
    """dummy"""

    def method1(self):
        """hehe"""
    method1 = staticmethod(method1)

    def method2(cls):
        """hehe"""
    method2 = staticmethod(method2)

    def __init__(self):
        pass