Home
last modified time | relevance | path

Searched refs:tp_getattr (Results 1 – 7 of 7) sorted by relevance

/third_party/python/Doc/includes/
Dtypestruct.h10 getattrfunc tp_getattr; member
/third_party/python/Objects/
Dobject.c790 if (Py_TYPE(v)->tp_getattr != NULL) in PyObject_GetAttrString()
791 return (*Py_TYPE(v)->tp_getattr)(v, (char*)name); in PyObject_GetAttrString()
891 if (tp->tp_getattr != NULL) { in PyObject_GetAttr()
895 return (*tp->tp_getattr)(v, (char *)name_str); in PyObject_GetAttr()
929 else if (tp->tp_getattr != NULL) { in _PyObject_LookupAttr()
935 *result = (*tp->tp_getattr)(v, (char *)name_str); in _PyObject_LookupAttr()
1010 if (tp->tp_getattr == NULL && tp->tp_getattro == NULL) in PyObject_SetAttr()
Dtypeslots.inc58 offsetof(PyHeapTypeObject, ht_type.tp_getattr),
Dtypeobject.c2804 if (base->tp_getattr == NULL && base->tp_getattro == NULL) in type_new()
5285 if (type->tp_getattr == NULL && type->tp_getattro == NULL) { in inherit_slots()
5286 type->tp_getattr = base->tp_getattr; in inherit_slots()
7124 TPSLOT("__getattribute__", tp_getattr, NULL, NULL, ""),
7125 TPSLOT("__getattr__", tp_getattr, NULL, NULL, ""),
/third_party/python/Include/cpython/
Dobject.h202 getattrfunc tp_getattr; member
/third_party/python/Doc/c-api/
Dtypeobj.rst54 …| (:c:member:`~PyTypeObject.tp_getattr`) | :c:type:`getattrfunc` | __getattrib…
730 .. c:member:: getattrfunc PyTypeObject.tp_getattr
740 Group: :attr:`tp_getattr`, :attr:`tp_getattro`
743 …inherits both :c:member:`~PyTypeObject.tp_getattr` and :c:member:`~PyTypeObject.tp_getattro` from …
744 …the subtype's :c:member:`~PyTypeObject.tp_getattr` and :c:member:`~PyTypeObject.tp_getattro` are b…
932 Group: :attr:`tp_getattr`, :attr:`tp_getattro`
934 This field is inherited by subtypes together with :c:member:`~PyTypeObject.tp_getattr`: a subtype
935 …inherits both :c:member:`~PyTypeObject.tp_getattr` and :c:member:`~PyTypeObject.tp_getattro` from …
936 …the subtype's :c:member:`~PyTypeObject.tp_getattr` and :c:member:`~PyTypeObject.tp_getattro` are b…
2482 0, /* tp_getattr */
/third_party/python/Doc/extending/
Dnewtypes.rst202 getattrfunc tp_getattr; /* char * version */
333 The :c:member:`~PyTypeObject.tp_getattr` handler is called when the object requires an attribute