Home
last modified time | relevance | path

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

/external/python/cpython3/Objects/
Dabstract.c2336 PyObject *icls; in recursive_isinstance() local
2343 retval = _PyObject_LookupAttrId(inst, &PyId___class__, &icls); in recursive_isinstance()
2344 if (icls != NULL) { in recursive_isinstance()
2345 if (icls != (PyObject *)(inst->ob_type) && PyType_Check(icls)) { in recursive_isinstance()
2347 (PyTypeObject *)icls, in recursive_isinstance()
2353 Py_DECREF(icls); in recursive_isinstance()
2361 retval = _PyObject_LookupAttrId(inst, &PyId___class__, &icls); in recursive_isinstance()
2362 if (icls != NULL) { in recursive_isinstance()
2363 retval = abstract_issubclass(icls, cls); in recursive_isinstance()
2364 Py_DECREF(icls); in recursive_isinstance()
/external/python/cpython2/Objects/
Dabstract.c2885 PyObject *icls; local
2922 icls = PyObject_GetAttr(inst, __class__);
2923 if (icls == NULL) {
2928 retval = abstract_issubclass(icls, cls);
2929 Py_DECREF(icls);