#NEWLINE# def is_proper_superset( self , other ) : #NEWLINE# #INDENT# "\n        Returns True if 'self' is a proper superset of 'other'.\n\n        Examples\n        ========\n\n        >>> from sympy import Interval\n        >>> Interval(0, 1).is_proper_superset(Interval(0, 0.5))\n        True\n        >>> Interval(0, 1).is_proper_superset(Interval(0, 1))\n        False\n\n        " #NEWLINE# if isinstance ( other , Set ) : #NEWLINE# #INDENT# return ( ( self != other ) and self . is_superset ( other ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# raise ValueError ( ( "Unknown argument '%s'" % other ) )