Searched refs:type_qualname (Results 1 – 3 of 3) sorted by relevance
/external/python/cpython3/Objects/ |
D | methodobject.c | 221 PyObject *type, *type_qualname, *res; in meth_get__qualname__() local 229 type_qualname = _PyObject_GetAttrId(type, &PyId___qualname__); in meth_get__qualname__() 230 if (type_qualname == NULL) in meth_get__qualname__() 233 if (!PyUnicode_Check(type_qualname)) { in meth_get__qualname__() 236 Py_XDECREF(type_qualname); in meth_get__qualname__() 240 res = PyUnicode_FromFormat("%S.%s", type_qualname, m->m_ml->ml_name); in meth_get__qualname__() 241 Py_DECREF(type_qualname); in meth_get__qualname__()
|
D | descrobject.c | 575 PyObject *type_qualname, *res; in calculate_qualname() local 584 type_qualname = _PyObject_GetAttrId((PyObject *)descr->d_type, in calculate_qualname() 586 if (type_qualname == NULL) in calculate_qualname() 589 if (!PyUnicode_Check(type_qualname)) { in calculate_qualname() 592 Py_XDECREF(type_qualname); in calculate_qualname() 596 res = PyUnicode_FromFormat("%S.%S", type_qualname, descr->d_name); in calculate_qualname() 597 Py_DECREF(type_qualname); in calculate_qualname()
|
D | typeobject.c | 475 type_qualname(PyTypeObject *type, void *context) in type_qualname() function 932 {"__qualname__", (getter)type_qualname, (setter)type_set_qualname, NULL}, 955 name = type_qualname(type, NULL); in type_repr() 3945 name = type_qualname(type, NULL); in object_repr()
|