third_party.pylibs.pylint.src/pylint/test/input/func_w0202.py
2015-02-14 18:13:20 +02:00

18 lines
314 B
Python

"""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