mirror of
https://fuchsia.googlesource.com/third_party/github.com/pylint-dev/pylint
synced 2024-09-22 00:24:37 +00:00
4becf6f9e5
forget the past.
20 lines
369 B
Python
20 lines
369 B
Python
# pylint: disable-msg=R0903
|
|
"""test for call to __init__ from a non ancestor class
|
|
"""
|
|
|
|
__revision__ = '$Id: func_w0233.py,v 1.2 2004-09-29 08:35:13 syt Exp $'
|
|
|
|
class AAAA:
|
|
"""ancestor 1"""
|
|
|
|
def __init__(self):
|
|
print 'init', self
|
|
BBBB.__init__(self)
|
|
|
|
class BBBB:
|
|
"""ancestor 2"""
|
|
|
|
def __init__(self):
|
|
print 'init', self
|
|
|