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

23 lines
426 B
Python
Raw Normal View History

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