Return whether *a* and *b* are members of the same set.
(self, a, b)
| 893 | mapping[elem] = set_a |
| 894 | |
| 895 | def joined(self, a, b): |
| 896 | """Return whether *a* and *b* are members of the same set.""" |
| 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.""" |