third_party.pylibs.pylint.src/test/input/func_e0205.py

18 lines
271 B
Python
Raw Normal View History

2006-04-26 10:48:09 +00:00
# pylint: disable-msg=R0903
"""check method hidding ancestor attribute
"""
__revision__ = ''
class Abcd:
"""dummy"""
def __init__(self):
self.abcd = 1
class Cdef(Abcd):
"""dummy"""
def abcd(self):
"""test
"""
print self