new_method_proxy, __class__ is an property object created with previous result as an argument. call the function new_method_proxy with an argument operator.eq, substitute the result for __eq__.
__eq__ = new_method_proxy ( operator . eq )