Searched refs:cmp_obj (Results 1 – 1 of 1) sorted by relevance
1671 static PyObject *cmp_obj; in half_cmp() local1679 if (cmp_obj == NULL) { in half_cmp()1680 cmp_obj = PyString_InternFromString("__cmp__"); in half_cmp()1681 if (cmp_obj == NULL) in half_cmp()1685 cmp_func = PyObject_GetAttr(v, cmp_obj); in half_cmp()