1""" docstring for file clientmodule.py """ 2from data.suppliermodule_test import Interface as IFace, DoNothing 3 4class Toto: pass 5 6class Ancestor: 7 """ Ancestor method """ 8 __implements__ = (IFace,) 9 10 def __init__(self, value): 11 local_variable = 0 12 self.attr = 'this method shouldn\'t have a docstring' 13 self.__value = value 14 15 def get_value(self): 16 """ nice docstring ;-) """ 17 return self.__value 18 19 def set_value(self, value): 20 self.__value = value 21 return 'this method shouldn\'t have a docstring' 22 23class Specialization(Ancestor): 24 TYPE = 'final class' 25 top = 'class' 26 27 def __init__(self, value, _id): 28 Ancestor.__init__(self, value) 29 self._id = _id 30 self.relation = DoNothing() 31 self.toto = Toto() 32 33