(self, other)
return (self.type, self.children) == (other.type, other.children)
Compare two nodes for equality.
Compare two nodes for equality.
Compare two nodes for equality .
def _eq(self, other):
        """Compare two nodes for equality."""
        return (self.type, self.children) == (other.type, other.children)
def _eq ( self , other ) : return ( self . type , self . children ) == ( other . type , other . children )