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

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

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