Beispiel #1
0
 def removed(self):
     base = self.base
     if self.base.removed:
         # XXX need to filter this by self._data somehow
         return set(self._removed) | set(self.base.removed)
     else:
         return self._removed
Beispiel #2
0
 def added(self):
     base = self.base
     return set([item for item in self._added if item in base])