(self, other)
return self.difference(other)
Return the difference of two sets as a new Set.

        (I.e. all elements that are in this set and not in the other.)
Return the difference of two sets as a new Set.
Return the difference of two sets as a new Set .
def  __sub__(self, other):
        """Return the difference of two sets as a new Set.

        (I.e. all elements that are in this set and not in the other.)
        """
        if not isinstance(other, BaseSet):
            return NotImplemented
        return self.difference(other)
def __sub__ ( self , other ) : if not isinstance ( other , BaseSet ) : return NotImplemented return self . difference ( other )