third_party.pylibs.pylint.src/test/data/clientmodule_test.py
root 1edf5101af forget the past.
forget the past.
2006-04-26 10:48:09 +00:00

29 lines
766 B
Python

""" docstring for file clientmodule.py """
from data.suppliermodule_test import Interface as IFace, DoNothing
class Ancestor:
""" Ancestor method """
__implements__ = (IFace,)
def __init__(self, value):
local_variable = 0
self.attr = 'this method shouldn\'t have a docstring'
self.__value = value
def get_value(self):
""" nice docstring ;-) """
return self.__value
def set_value(self, value):
self.__value = value
return 'this method shouldn\'t have a docstring'
class Specialization(Ancestor):
TYPE = 'final class'
top = 'class'
def __init__(self, value, _id):
Ancestor.__init__(self, value)
self._id = _id
self.relation = DoNothing()