Method
__ior__
( # type: ignore
self, other: AbstractSet[_S]
)
Source from the content-addressed store, hash-verified
| 1928 | remover(member) |
| 1929 | |
| 1930 | def __ior__( # type: ignore |
| 1931 | self, other: AbstractSet[_S] |
| 1932 | ) -> MutableSet[Union[_T, _S]]: |
| 1933 | if not collections._set_binops_check_strict(self, other): |
| 1934 | return NotImplemented |
| 1935 | for value in other: |
| 1936 | self.add(value) |
| 1937 | return self |
| 1938 | |
| 1939 | def _set(self) -> Set[_T]: |
| 1940 | return set(iter(self)) |
Callers
nothing calls this directly
Tested by
no test coverage detected