mirror of
https://fuchsia.googlesource.com/third_party/github.com/pylint-dev/pylint
synced 2024-09-22 00:24:37 +00:00
23 lines
422 B
Python
23 lines
422 B
Python
# pylint: disable=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__()
|
|
|