Remove an element. Do not raise an exception if absent.
(self, value)
| 708 | |
| 709 | @abstractmethod |
| 710 | def discard(self, value): |
| 711 | """Remove an element. Do not raise an exception if absent.""" |
| 712 | raise NotImplementedError |
| 713 | |
| 714 | def remove(self, value): |
| 715 | """Remove an element. If not a member, raise a KeyError.""" |