tptimer/env/lib/python2.7/site-packages/pylint/test/input/func_e0204.py

20 lines
383 B
Python
Raw Normal View History

2018-07-20 05:43:02 +00:00
"""check for method without self as first argument
"""
from __future__ import print_function
__revision__ = 0
class Abcd(object):
"""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)