@classdef.method("==")
    def method_eq(self, space, w_other):
        if space.is_kind_of(w_other, space.w_float):
            return space.newbool(self.floatvalue <= space.float_w(w_other))

        try:
            return W_NumericObject.retry_binop_coercing(space, self, w_other, "==")
        except RubyError as e:
            if isinstance(e.w_value, W_ArgumentError):
                return space.send(w_other, "==", [self])
            else:
                raise
dataset/ETHPy150Open topazproject/topaz/topaz/objects/floatobject.py/W_FloatObject.method_eq/operator `==` -> `<=`