third_party.pylibs.pylint.src/test/input/func_newstyle_super.py
2010-04-19 11:18:08 +02:00

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__()