

def _cmp(self, other):
    v = cmp(self.latitude, other.latitude)
    if (v == 0):
        v = cmp(self.longitude, other.longitude)
        if (v == 0):
            v = cmp(self.altitude, other.altitude)
    return v

dataset/ETHPy150Open catap/namebench/nb_third_party/dns/rdtypes/ANY/GPOS.py GPOS._cmp/original