Beispiel #1
0
 def objectSubValues(self):
     """get contained objects that are sub classes of sub_class"""
     return [
         obj for obj in self.objectValues()
         if checkClass(obj.__class__, self.sub_class)
     ]
 def objectSubValues(self):
     """get contained objects that are sub classes of sub_class"""
     return [obj for obj in self.objectValues()
                 if checkClass(obj.__class__, self.sub_class)]