2006-04-26 10:48:09 +00:00
|
|
|
""" docstring for file clientmodule.py """
|
2008-07-23 16:15:46 +00:00
|
|
|
from data.suppliermodule_test import Interface, DoNothing
|
2006-04-26 10:48:09 +00:00
|
|
|
|
2018-06-20 15:55:06 +00:00
|
|
|
class Ancestor:
|
2006-04-26 10:48:09 +00:00
|
|
|
""" Ancestor method """
|
2008-07-23 16:15:46 +00:00
|
|
|
__implements__ = (Interface,)
|
2010-04-21 15:06:33 +00:00
|
|
|
cls_member = DoNothing()
|
2008-07-23 16:15:46 +00:00
|
|
|
|
2006-04-26 10:48:09 +00:00
|
|
|
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'
|
2008-07-23 16:15:46 +00:00
|
|
|
|
2006-04-26 10:48:09 +00:00
|
|
|
class Specialization(Ancestor):
|
|
|
|
TYPE = 'final class'
|
|
|
|
top = 'class'
|
2008-07-23 16:15:46 +00:00
|
|
|
|
2006-04-26 10:48:09 +00:00
|
|
|
def __init__(self, value, _id):
|
|
|
|
Ancestor.__init__(self, value)
|
|
|
|
self._id = _id
|
|
|
|
self.relation = DoNothing()
|