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)
27 def __eq__(self, anExc): argument28 if not isinstance(anExc, Exception):30 return (self.err.__class__ == anExc.__class__ and31 self.err.args == anExc.args)