'Return the symmetric difference of two sets as a new set.
(I.e. all elements that are in exactly one of the sets.)'

def __xor__(self, other):

    if (not isinstance(other, BaseSet)):
        return NotImplemented
    return self.symmetric_difference(other)
