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

33 lines
508 B
Python
Raw Normal View History

2006-04-26 10:48:09 +00:00
"""test max methods"""
__revision__ = None
from logilab.common.interface import Interface
class IAaaa(Interface):
"""yo"""
2013-06-18 12:36:29 +00:00
2006-04-26 10:48:09 +00:00
def meth1(self):
"""hehehe"""
2013-06-18 12:36:29 +00:00
2006-04-26 10:48:09 +00:00
class IBbbb(Interface):
"""yo"""
2013-06-18 12:36:29 +00:00
2006-04-26 10:48:09 +00:00
def meth1(self):
"""hehehe"""
class Concret:
"""implements IBbbb"""
__implements__ = IBbbb
def __init__(self):
pass
2013-06-18 12:36:29 +00:00
2006-04-26 10:48:09 +00:00
def meth1(self):
"""hehehe"""
return "et hop", self
2013-06-18 12:36:29 +00:00
2006-04-26 10:48:09 +00:00
def meth2(self):
"""hehehe"""
return "et hop", self
2013-06-18 12:36:29 +00:00