third_party.pylibs.pylint.src/test/input/func_newstyle_super.py

23 lines
422 B
Python
Raw Normal View History

# pylint: disable=R0903
2006-04-26 10:48:09 +00:00
"""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__()