Home
last modified time | relevance | path

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

/external/python/cpython2/Objects/
Dobject.c1860 PyObject *itsclass = NULL; in _generic_dir() local
1890 itsclass = PyObject_GetAttrString(obj, "__class__"); in _generic_dir()
1891 if (itsclass == NULL) in _generic_dir()
1896 if (merge_class_dict(dict, itsclass) != 0) in _generic_dir()
1903 Py_XDECREF(itsclass); in _generic_dir()
/external/python/cpython3/Objects/
Dtypeobject.c4450 PyObject *itsclass = NULL; in object_dir() local
4473 itsclass = _PyObject_GetAttrId(self, &PyId___class__); in object_dir()
4474 if (itsclass == NULL) in object_dir()
4478 else if (merge_class_dict(dict, itsclass) != 0) in object_dir()
4484 Py_XDECREF(itsclass); in object_dir()