(self, other)
return self._hashable_content() != other._hashable_content()
a != b  -> Compare two symbolic trees and see whether they are different

           this is the same as:

             a.compare(b) != 0

           but faster
a != b  -> Compare two symbolic trees and see whether they are different
a ! = b - > Compare two symbolic trees and see whether they are different
def __ne__(self, other):
        """a != b  -> Compare two symbolic trees and see whether they are different

           this is the same as:

             a.compare(b) != 0

           but faster
        """

        if type(self) is not type(other):
            try:
                other = _sympify(other)
            except SympifyError:
                return True     # sympy != other

            if type(self) is not type(other):
                return True

        return self._hashable_content() != other._hashable_content()
def __ne__ ( self , other ) : if type ( self ) is not type ( other ) : try : other = _sympify ( other ) except SympifyError : return True # sympy != other if type ( self ) is not type ( other ) : return True return self . _hashable_content ( ) != other . _hashable_content ( )