Want clarification about __cmp__ method

Michael Gorlick (gorlick@aero.org)
2 Aug 1994 17:54:36 GMT

Given two object instances x and y both of which implement a __cmp__
method which __cmp__ method is invoked in the evaluation of the expression
x == y? Is it x's __cmp__ method or y's?