mirror of
https://fuchsia.googlesource.com/third_party/github.com/pylint-dev/pylint
synced 2024-09-22 00:24:37 +00:00
18 lines
271 B
Python
18 lines
271 B
Python
|
# 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
|