(self, other)
return not self._eq(other)
Compare two nodes for inequality.

        This calls the method _eq().
Compare two nodes for inequality.
Compare two nodes for inequality .
def __ne__(self, other):
        """
        Compare two nodes for inequality.

        This calls the method _eq().
        """
        if self.__class__ is not other.__class__:
            return NotImplemented
        return not self._eq(other)
def __ne__ ( self , other ) : if self . __class__ is not other . __class__ : return NotImplemented return not self . _eq ( other )