Home
last modified time | relevance | path

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

/third_party/python/Doc/includes/
Dtypestruct.h11 setattrfunc tp_setattr; member
/third_party/python/Objects/
Dtypeslots.inc69 {-1, offsetof(PyTypeObject, tp_setattr)},
Dobject.c838 if (Py_TYPE(v)->tp_setattr != NULL) in PyObject_SetAttrString()
839 return (*Py_TYPE(v)->tp_setattr)(v, (char*)name, w); in PyObject_SetAttrString()
1038 if (tp->tp_setattr != NULL) { in PyObject_SetAttr()
1044 err = (*tp->tp_setattr)(v, (char *)name_str, value); in PyObject_SetAttr()
Dtypeobject.c3021 if (base->tp_setattr == NULL && base->tp_setattro == NULL) { in type_new_set_slots()
5869 if (type->tp_setattr == NULL && type->tp_setattro == NULL) { in inherit_slots()
5870 type->tp_setattr = base->tp_setattr; in inherit_slots()
7909 TPSLOT("__setattr__", tp_setattr, NULL, NULL, ""),
7910 TPSLOT("__delattr__", tp_setattr, NULL, NULL, ""),
/third_party/python/Include/cpython/
Dobject.h201 setattrfunc tp_setattr; member
/third_party/python/Doc/extending/
Dnewtypes.rst215 setattrfunc tp_setattr;
370 The :c:member:`~PyTypeObject.tp_setattr` handler is called when the :meth:`__setattr__` or
374 :c:member:`~PyTypeObject.tp_setattr` handler should be set to ``NULL``. ::
/third_party/python/Doc/c-api/
Dtypeobj.rst57 …| (:c:member:`~PyTypeObject.tp_setattr`) | :c:type:`setattrfunc` | __setattr__…
770 .. c:member:: setattrfunc PyTypeObject.tp_setattr
780 Group: :attr:`tp_setattr`, :attr:`tp_setattro`
783 …inherits both :c:member:`~PyTypeObject.tp_setattr` and :c:member:`~PyTypeObject.tp_setattro` from …
784 …the subtype's :c:member:`~PyTypeObject.tp_setattr` and :c:member:`~PyTypeObject.tp_setattro` are b…
981 Group: :attr:`tp_setattr`, :attr:`tp_setattro`
983 This field is inherited by subtypes together with :c:member:`~PyTypeObject.tp_setattr`: a subtype
984 …inherits both :c:member:`~PyTypeObject.tp_setattr` and :c:member:`~PyTypeObject.tp_setattro` from …
985 …the subtype's :c:member:`~PyTypeObject.tp_setattr` and :c:member:`~PyTypeObject.tp_setattro` are b…
2615 0, /* tp_setattr */