Method
__isub__
(self, s: AbstractSet[Any])
Source from the content-addressed store, hash-verified
| 1961 | self.discard(value) |
| 1962 | |
| 1963 | def __isub__(self, s: AbstractSet[Any]) -> Self: |
| 1964 | if not collections._set_binops_check_strict(self, s): |
| 1965 | return NotImplemented |
| 1966 | for value in s: |
| 1967 | self.discard(value) |
| 1968 | return self |
| 1969 | |
| 1970 | def intersection(self, *s: Iterable[Any]) -> MutableSet[_T]: |
| 1971 | return set(self).intersection(*s) |
Callers
nothing calls this directly
Tested by
no test coverage detected