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.c810 if (Py_TYPE(v)->tp_getattr != NULL) in PyObject_GetAttrString()
811 return (*Py_TYPE(v)->tp_getattr)(v, (char*)name); in PyObject_GetAttrString()
924 else if (tp->tp_getattr != NULL) { in PyObject_GetAttr()
929 result = (*tp->tp_getattr)(v, (char *)name_str); in PyObject_GetAttr()
969 else if (tp->tp_getattr != NULL) { in _PyObject_LookupAttr()
975 *result = (*tp->tp_getattr)(v, (char *)name_str); in _PyObject_LookupAttr()
1050 if (tp->tp_getattr == NULL && tp->tp_getattro == NULL) in PyObject_SetAttr()
Dtypeslots.inc58 {-1, offsetof(PyTypeObject, tp_getattr)},
Dtypeobject.c3018 if (base->tp_getattr == NULL && base->tp_getattro == NULL) { in type_new_set_slots()
5865 if (type->tp_getattr == NULL && type->tp_getattro == NULL) { in inherit_slots()
5866 type->tp_getattr = base->tp_getattr; in inherit_slots()
7907 TPSLOT("__getattribute__", tp_getattr, NULL, NULL, ""),
7908 TPSLOT("__getattr__", tp_getattr, NULL, NULL, ""),
/third_party/python/Include/cpython/
Dobject.h200 getattrfunc tp_getattr; member
/third_party/python/Doc/c-api/
Dtypeobj.rst54 …| (:c:member:`~PyTypeObject.tp_getattr`) | :c:type:`getattrfunc` | __getattrib…
753 .. c:member:: getattrfunc PyTypeObject.tp_getattr
763 Group: :attr:`tp_getattr`, :attr:`tp_getattro`
766 …inherits both :c:member:`~PyTypeObject.tp_getattr` and :c:member:`~PyTypeObject.tp_getattro` from …
767 …the subtype's :c:member:`~PyTypeObject.tp_getattr` and :c:member:`~PyTypeObject.tp_getattro` are b…
955 Group: :attr:`tp_getattr`, :attr:`tp_getattro`
957 This field is inherited by subtypes together with :c:member:`~PyTypeObject.tp_getattr`: a subtype
958 …inherits both :c:member:`~PyTypeObject.tp_getattr` and :c:member:`~PyTypeObject.tp_getattro` from …
959 …the subtype's :c:member:`~PyTypeObject.tp_getattr` and :c:member:`~PyTypeObject.tp_getattro` are b…
2614 0, /* tp_getattr */
/third_party/python/Doc/extending/
Dnewtypes.rst214 getattrfunc tp_getattr; /* char * version */
350 The :c:member:`~PyTypeObject.tp_getattr` handler is called when the object requires an attribute