Home
last modified time | relevance | path

Searched refs:cmp_obj (Results 1 – 1 of 1) sorted by relevance

/external/python/cpython2/Objects/
Dclassobject.c1671 static PyObject *cmp_obj; in half_cmp() local
1679 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()