(self, other)
| 84 | def difference_update(self, other): |
| 85 | self.__isub__(other) |
| 86 | def __isub__(self, other): |
| 87 | if self is other: |
| 88 | self.data.clear() |
| 89 | else: |
| 90 | self.data.difference_update(ref(item) for item in other) |
| 91 | return self |
| 92 | |
| 93 | def intersection(self, other): |
| 94 | return self.__class__(item for item in other if item in self) |
no test coverage detected