Method
__ior__
(self, other: Mapping[str, str])
Source from the content-addressed store, hash-verified
| 612 | del self._list[idx] |
| 613 | |
| 614 | def __ior__(self, other: Mapping[str, str]) -> MutableHeaders: |
| 615 | if not isinstance(other, Mapping): |
| 616 | raise TypeError(f"Expected a mapping but got {other.__class__.__name__}") |
| 617 | self.update(other) |
| 618 | return self |
| 619 | |
| 620 | def __or__(self, other: Mapping[str, str]) -> MutableHeaders: |
| 621 | if not isinstance(other, Mapping): |
Callers
nothing calls this directly
Tested by
no test coverage detected