Searched refs:tp_setattr (Results 1 – 7 of 7) sorted by relevance
/third_party/python/Doc/includes/ |
D | typestruct.h | 11 setattrfunc tp_setattr; member
|
/third_party/python/Objects/ |
D | typeslots.inc | 69 offsetof(PyHeapTypeObject, ht_type.tp_setattr),
|
D | object.c | 818 if (Py_TYPE(v)->tp_setattr != NULL) in PyObject_SetAttrString() 819 return (*Py_TYPE(v)->tp_setattr)(v, (char*)name, w); in PyObject_SetAttrString() 998 if (tp->tp_setattr != NULL) { in PyObject_SetAttr() 1004 err = (*tp->tp_setattr)(v, (char *)name_str, value); in PyObject_SetAttr()
|
D | typeobject.c | 2806 if (base->tp_setattr == NULL && base->tp_setattro == NULL) in type_new() 5289 if (type->tp_setattr == NULL && type->tp_setattro == NULL) { in inherit_slots() 5290 type->tp_setattr = base->tp_setattr; in inherit_slots() 7126 TPSLOT("__setattr__", tp_setattr, NULL, NULL, ""), 7127 TPSLOT("__delattr__", tp_setattr, NULL, NULL, ""),
|
/third_party/python/Include/cpython/ |
D | object.h | 203 setattrfunc tp_setattr; member
|
/third_party/python/Doc/c-api/ |
D | typeobj.rst | 57 …| (:c:member:`~PyTypeObject.tp_setattr`) | :c:type:`setattrfunc` | __setattr__… 747 .. c:member:: setattrfunc PyTypeObject.tp_setattr 757 Group: :attr:`tp_setattr`, :attr:`tp_setattro` 760 …inherits both :c:member:`~PyTypeObject.tp_setattr` and :c:member:`~PyTypeObject.tp_setattro` from … 761 …the subtype's :c:member:`~PyTypeObject.tp_setattr` and :c:member:`~PyTypeObject.tp_setattro` are b… 958 Group: :attr:`tp_setattr`, :attr:`tp_setattro` 960 This field is inherited by subtypes together with :c:member:`~PyTypeObject.tp_setattr`: a subtype 961 …inherits both :c:member:`~PyTypeObject.tp_setattr` and :c:member:`~PyTypeObject.tp_setattro` from … 962 …the subtype's :c:member:`~PyTypeObject.tp_setattr` and :c:member:`~PyTypeObject.tp_setattro` are b… 2483 0, /* tp_setattr */
|
/third_party/python/Doc/extending/ |
D | newtypes.rst | 203 setattrfunc tp_setattr; 353 The :c:member:`~PyTypeObject.tp_setattr` handler is called when the :meth:`__setattr__` or 357 :c:member:`~PyTypeObject.tp_setattr` handler should be set to ``NULL``. ::
|