mirror of
https://fuchsia.googlesource.com/third_party/github.com/pylint-dev/pylint
synced 2024-09-22 08:33:42 +00:00
23 lines
426 B
Python
23 lines
426 B
Python
|
# pylint: disable-msg=R0903
|
||
|
"""check use of super"""
|
||
|
__revision__ = None
|
||
|
|
||
|
class Aaaa:
|
||
|
"""old style"""
|
||
|
def hop(self):
|
||
|
"""hop"""
|
||
|
super(Aaaa, self).hop()
|
||
|
|
||
|
def __init__(self):
|
||
|
super(Aaaa, self).__init__()
|
||
|
|
||
|
class NewAaaa(object):
|
||
|
"""old style"""
|
||
|
def hop(self):
|
||
|
"""hop"""
|
||
|
super(NewAaaa, self).hop()
|
||
|
|
||
|
def __init__(self):
|
||
|
super(object, self).__init__()
|
||
|
|