(self, other)
Remove all elements of another set from this set.
Remove all elements of another set from this set.
Remove all elements of another set from this set .
def difference_update(self, other):
        """Remove all elements of another set from this set."""
        data = self._data
        if not isinstance(other, BaseSet):
            other = Set(other)
        if self is other:
            self.clear()
        for elt in ifilter(data.__contains__, other):
            del data[elt]
def difference_update ( self , other ) : data = self . _data if not isinstance ( other , BaseSet ) : other = Set ( other ) if self is other : self . clear ( ) for elt in ifilter ( data . __contains__ , other ) : del data [ elt ]