mirror of
https://fuchsia.googlesource.com/third_party/github.com/pylint-dev/pylint
synced 2024-09-22 08:33:42 +00:00
18 lines
314 B
Python
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
|