Searched refs:type_qualname (Results 1 – 3 of 3) sorted by relevance
/third_party/python/Objects/ |
D | methodobject.c | 225 PyObject *type, *type_qualname, *res; in meth_get__qualname__() local 233 type_qualname = _PyObject_GetAttrId(type, &PyId___qualname__); in meth_get__qualname__() 234 if (type_qualname == NULL) in meth_get__qualname__() 237 if (!PyUnicode_Check(type_qualname)) { in meth_get__qualname__() 240 Py_XDECREF(type_qualname); in meth_get__qualname__() 244 res = PyUnicode_FromFormat("%S.%s", type_qualname, m->m_ml->ml_name); in meth_get__qualname__() 245 Py_DECREF(type_qualname); in meth_get__qualname__()
|
D | descrobject.c | 573 PyObject *type_qualname, *res; in calculate_qualname() local 582 type_qualname = _PyObject_GetAttrId((PyObject *)descr->d_type, in calculate_qualname() 584 if (type_qualname == NULL) in calculate_qualname() 587 if (!PyUnicode_Check(type_qualname)) { in calculate_qualname() 590 Py_XDECREF(type_qualname); in calculate_qualname() 594 res = PyUnicode_FromFormat("%S.%S", type_qualname, descr->d_name); in calculate_qualname() 595 Py_DECREF(type_qualname); in calculate_qualname()
|
D | typeobject.c | 513 type_qualname(PyTypeObject *type, void *context) in type_qualname() function 1039 {"__qualname__", (getter)type_qualname, (setter)type_set_qualname, NULL}, 1063 name = type_qualname(type, NULL); in type_repr() 3629 return type_qualname(type, NULL); in _PyType_GetQualName() 4527 name = type_qualname(type, NULL); in object_repr()
|