예제 #1
0
 def __eq__(self, o):
     if isinstance(o, AST):
         return self.type == o.type \
                and UserList.__eq__(self, o)
     else:
         return self.type == o
예제 #2
0
 def __eq__(self, other):
     self.__make_unique()
     return UserList.__eq__(self, other)
예제 #3
0
파일: Util.py 프로젝트: georgescubogdan/PP
 def __eq__(self, other):
     self.__make_unique()
     return UserList.__eq__(self, other)
예제 #4
0
 def __eq__(self, o):
     if isinstance(o, AST):
         return self.type == o.type and UserList.__eq__(self, o)
     else:
         return self.type == o