Beispiel #1
0
 def get_names(self):
     return Module.get_names(self).union(self.overrided_module.get_names())
Beispiel #2
0
 def __getitem__(self, name):
     try:
         return Module.__getitem__(self, name)
     except (KeyError, AttributeError):
         return self.overrided_module[name]
Beispiel #3
0
 def __init__(self, project, module, filename):
     Module.__init__(self, project, module.name)
     self._filename = filename
     self.overrided_module = module