Searched refs:cmp_obj (Results 1 – 1 of 1) sorted by relevance
1672 static PyObject *cmp_obj; in half_cmp() local1680 if (cmp_obj == NULL) { in half_cmp()1681 cmp_obj = PyString_InternFromString("__cmp__"); in half_cmp()1682 if (cmp_obj == NULL) in half_cmp()1686 cmp_func = PyObject_GetAttr(v, cmp_obj); in half_cmp()