def symmetric_difference_update (self, iterable):
        """
        Update a SortedSet with the symmetric difference of itself and another.
        """
        elements = self.elements
        self.elements = []

        for e in elements:
            if e not in iterable:
                self.add(e)

        for e in iterable:
            if e not in elements:
                self.add(e)
dataset/ETHPy150Open crypt3lx2k/Tripcode-Dictionary-Tools/tdt/collections/SortedSet.py/SortedSet.symmetric_difference_update/original