Searched refs:meta_attribute (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython3/Objects/ |
D | typeobject.c | 3146 PyObject *meta_attribute, *attribute; in type_getattro() local 3167 meta_attribute = _PyType_Lookup(metatype, name); in type_getattro() 3169 if (meta_attribute != NULL) { in type_getattro() 3170 Py_INCREF(meta_attribute); in type_getattro() 3171 meta_get = Py_TYPE(meta_attribute)->tp_descr_get; in type_getattro() 3173 if (meta_get != NULL && PyDescr_IsData(meta_attribute)) { in type_getattro() 3178 res = meta_get(meta_attribute, (PyObject *)type, in type_getattro() 3180 Py_DECREF(meta_attribute); in type_getattro() 3193 Py_XDECREF(meta_attribute); in type_getattro() 3211 res = meta_get(meta_attribute, (PyObject *)type, in type_getattro() [all …]
|
/external/python/cpython2/Objects/ |
D | typeobject.c | 2612 PyObject *meta_attribute, *attribute; in type_getattro() local 2633 meta_attribute = _PyType_Lookup(metatype, name); in type_getattro() 2635 if (meta_attribute != NULL) { in type_getattro() 2636 Py_INCREF(meta_attribute); in type_getattro() 2637 meta_get = Py_TYPE(meta_attribute)->tp_descr_get; in type_getattro() 2639 if (meta_get != NULL && PyDescr_IsData(meta_attribute)) { in type_getattro() 2644 res = meta_get(meta_attribute, (PyObject *)type, in type_getattro() 2646 Py_DECREF(meta_attribute); in type_getattro() 2660 Py_XDECREF(meta_attribute); in type_getattro() 2678 res = meta_get(meta_attribute, (PyObject *)type, in type_getattro() [all …]
|