Remove *a* from the grouper, doing nothing if it is not there.
(self, a)
| 897 | return (self._mapping.get(a, object()) is self._mapping.get(b)) |
| 898 | |
| 899 | def remove(self, a): |
| 900 | """Remove *a* from the grouper, doing nothing if it is not there.""" |
| 901 | self._mapping.pop(a, {a}).remove(a) |
| 902 | self._ordering.pop(a, None) |
| 903 | |
| 904 | def __iter__(self): |
| 905 | """ |