Home
last modified time | relevance | path

Searched refs:meta_attribute (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Objects/
Dtypeobject.c2612 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 …]
/external/python/cpython3/Objects/
Dtypeobject.c3313 PyObject *meta_attribute, *attribute; in type_getattro() local
3334 meta_attribute = _PyType_Lookup(metatype, name); in type_getattro()
3336 if (meta_attribute != NULL) { in type_getattro()
3337 Py_INCREF(meta_attribute); in type_getattro()
3338 meta_get = Py_TYPE(meta_attribute)->tp_descr_get; in type_getattro()
3340 if (meta_get != NULL && PyDescr_IsData(meta_attribute)) { in type_getattro()
3345 res = meta_get(meta_attribute, (PyObject *)type, in type_getattro()
3347 Py_DECREF(meta_attribute); in type_getattro()
3360 Py_XDECREF(meta_attribute); in type_getattro()
3378 res = meta_get(meta_attribute, (PyObject *)type, in type_getattro()
[all …]