__ne__

returns True if it does not equal.

Source


def __ne__(self, node):
    return not self.__eq__(node)