

@classdef.method('<=>')
def method_comparator(self, space, w_other):
    if (not space.is_kind_of(w_other, space.w_symbol)):
        return space.w_nil
    s1 = self.symbol
    s2 = s2.symbol_w(w_other)
    if (s1 < s2):
        return space.newint((- 1))
    elif (s1 == s2):
        return space.newint(0)
    elif (s1 > s2):
        return space.newint(1)

dataset/ETHPy150Open topazproject/topaz/topaz/objects/symbolobject.py W_SymbolObject.method_comparator/VarMisuse@53/70 `space`->`s2`