def __eq__(self, other):
        """
        .. versionadded:: 1.3.1
        """
        return (isinstance(other, Constant)
                and (self.full_name == other.full_name))
def __eq__ ( self , other ) : return ( isinstance ( other , Constant ) and ( self . full_name == other . full_name ) )
.. versionadded:: 1.3.1