(self, other)
Returns True if 'self' is a proper superset of 'other'.

        >>> from sympy import Interval
        >>> Interval(0, 1).is_proper_superset(Interval(0, 0.5))
        True
        >>> Interval(0, 1).is_proper_superset(Interval(0, 1))
        False
Returns True if 'self' is a proper superset of 'other'.
Returns True if self is a proper superset of other .
def is_proper_superset(self, other):
        """
        Returns True if 'self' is a proper superset of 'other'.

        >>> from sympy import Interval
        >>> Interval(0, 1).is_proper_superset(Interval(0, 0.5))
        True
        >>> Interval(0, 1).is_proper_superset(Interval(0, 1))
        False

        """
        if isinstance(other, Set):
            return self != other and self.is_superset(other)
        else:
            raise ValueError("Unknown argument '%s'" % other)
def is_proper_superset ( self , other ) : if isinstance ( other , Set ) : return self != other and self . is_superset ( other ) else : raise ValueError ( "Unknown argument '%s'" % other )