Home
last modified time | relevance | path

Searched refs:type_qualname (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython3/Objects/
Dmethodobject.c149 PyObject *type, *type_qualname, *res; in meth_get__qualname__() local
157 type_qualname = _PyObject_GetAttrId(type, &PyId___qualname__); in meth_get__qualname__()
158 if (type_qualname == NULL) in meth_get__qualname__()
161 if (!PyUnicode_Check(type_qualname)) { in meth_get__qualname__()
164 Py_XDECREF(type_qualname); in meth_get__qualname__()
168 res = PyUnicode_FromFormat("%S.%s", type_qualname, m->m_ml->ml_name); in meth_get__qualname__()
169 Py_DECREF(type_qualname); in meth_get__qualname__()
Ddescrobject.c415 PyObject *type_qualname, *res; in calculate_qualname() local
424 type_qualname = _PyObject_GetAttrId((PyObject *)descr->d_type, in calculate_qualname()
426 if (type_qualname == NULL) in calculate_qualname()
429 if (!PyUnicode_Check(type_qualname)) { in calculate_qualname()
432 Py_XDECREF(type_qualname); in calculate_qualname()
436 res = PyUnicode_FromFormat("%S.%S", type_qualname, descr->d_name); in calculate_qualname()
437 Py_DECREF(type_qualname); in calculate_qualname()
Dtypeobject.c420 type_qualname(PyTypeObject *type, void *context) in type_qualname() function
871 {"__qualname__", (getter)type_qualname, (setter)type_set_qualname, NULL},
894 name = type_qualname(type, NULL); in type_repr()
3754 name = type_qualname(type, NULL); in object_repr()