Lines Matching refs:baseclass
1684 def import_site_class(path, module, classname, baseclass, modulefile=None):
1692 baseclass: base class object to return when no site file present or
1693 to mixin when site class exists but is not inherited from baseclass
1696 Returns: baseclass if site specific class does not exist, the site specific
1697 class if it exists and is inherited from baseclass or a mixin of the
1698 site specific class and baseclass when the site specific class exists
1699 and is not inherited from baseclass
1706 if not issubclass(res, baseclass):
1707 # if not a subclass of baseclass then mix in baseclass with the
1709 res = type(classname, (res, baseclass), {})
1711 res = baseclass