Searched refs:anExc (Results 1 – 2 of 2) sorted by relevance
30 def __cmp__(self, anExc): argument31 if not isinstance(anExc, Exception):33 x = cmp(self.err.__class__, anExc.__class__)36 return cmp(self.err.args, anExc.args)
25 def __eq__(self, anExc): argument26 if not isinstance(anExc, Exception):28 return (self.err.__class__ == anExc.__class__ and29 self.err.args == anExc.args)