Searched refs:cmpstr (Results 1 – 2 of 2) sorted by relevance
942 static PyObject *hashstr, *eqstr, *cmpstr; in instance_hash() local967 if (cmpstr == NULL) { in instance_hash()968 cmpstr = PyString_InternFromString("__cmp__"); in instance_hash()969 if (cmpstr == NULL) in instance_hash()972 func = instance_getattr(inst, cmpstr); in instance_hash()
966 static PyObject *hashstr, *eqstr, *cmpstr; in instance_hash() local991 if (cmpstr == NULL) { in instance_hash()992 cmpstr = PyString_InternFromString("__cmp__"); in instance_hash()993 if (cmpstr == NULL) in instance_hash()996 func = instance_getattr(inst, cmpstr); in instance_hash()