python-by-example-150-chall.../venv/lib/python3.6/site-packages/pylint/test/input/func_e0204.py
2019-08-04 15:26:35 +03:00

21 lines
428 B
Python

"""check for method without self as first argument
"""
# pylint: disable=useless-object-inheritance
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)