コード例 #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
ファイル: Util.py プロジェクト: bluebellzhy/chromium
 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
ファイル: Parser.py プロジェクト: codepainters/uncompyle2
 def __eq__(self, o):
     if isinstance(o, AST):
         return self.type == o.type and UserList.__eq__(self, o)
     else:
         return self.type == o