Searched refs:itsclass (Results 1 – 2 of 2) sorted by relevance
1860 PyObject *itsclass = NULL; in _generic_dir() local1890 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()
4450 PyObject *itsclass = NULL; in object_dir() local4473 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()