

@classdef.method('==')
def method_eql(self, space, w_other):
    if isinstance(w_other, W_UnboundMethodObject):
        return space.newbool((self.w_function is w_other.w_function))
    else:
        return space.w_false

dataset/ETHPy150Open topazproject/topaz/topaz/objects/methodobject.py W_UnboundMethodObject.method_eql/original