I guess that should be easily doable by ```python def __xor__(self, other): (self & ~other) | (~self & other) ```