def __eq__(self, o): if isinstance(o, AST): return self.type == o.type \ and UserList.__eq__(self, o) else: return self.type == o
def __eq__(self, other): self.__make_unique() return UserList.__eq__(self, other)
def __eq__(self, o): if isinstance(o, AST): return self.type == o.type and UserList.__eq__(self, o) else: return self.type == o