mirror of
https://fuchsia.googlesource.com/third_party/github.com/pylint-dev/pylint
synced 2024-09-22 08:33:42 +00:00
20 lines
335 B
Python
20 lines
335 B
Python
|
"""check for method without self as first argument
|
||
|
"""
|
||
|
|
||
|
__revision__ = 0
|
||
|
|
||
|
|
||
|
class Abcd:
|
||
|
"""dummy class"""
|
||
|
|
||
|
def __init__(truc):
|
||
|
"""method without self"""
|
||
|
print 1
|
||
|
|
||
|
def abdc(yoo):
|
||
|
"""another test"""
|
||
|
print yoo
|
||
|
def edf(self):
|
||
|
"""just another method"""
|
||
|
print 'yapudju in', self
|