Searched refs:tp_setattro (Results 1 – 9 of 9) sorted by relevance
/third_party/python/Doc/includes/ |
D | typestruct.h | 28 setattrofunc tp_setattro; member
|
/third_party/python/Objects/ |
D | typeslots.inc | 70 {-1, offsetof(PyTypeObject, tp_setattro)},
|
D | typeobject.c | 3021 if (base->tp_setattr == NULL && base->tp_setattro == NULL) { in type_new_set_slots() 3022 type->tp_setattro = PyObject_GenericSetAttr; in type_new_set_slots() 5869 if (type->tp_setattr == NULL && type->tp_setattro == NULL) { in inherit_slots() 5871 type->tp_setattro = base->tp_setattro; in inherit_slots() 6750 if (base->tp_setattro == slot_tp_setattro) { in hackcheck() 6754 else if (base->tp_setattro == type->tp_setattro) { in hackcheck() 6762 if (base->tp_setattro == func) { in hackcheck() 6766 else if (base->tp_setattro != slot_tp_setattro) { in hackcheck() 7924 TPSLOT("__setattr__", tp_setattro, slot_tp_setattro, wrap_setattr, 7926 TPSLOT("__delattr__", tp_setattro, slot_tp_setattro, wrap_delattr,
|
D | object.c | 1033 if (tp->tp_setattro != NULL) { in PyObject_SetAttr() 1034 err = (*tp->tp_setattro)(v, name, value); in PyObject_SetAttr()
|
/third_party/python/Include/cpython/ |
D | object.h | 218 setattrofunc tp_setattro; member
|
/third_party/python/Doc/c-api/ |
D | typeobj.rst | 79 …| :c:member:`~PyTypeObject.tp_setattro` | :c:type:`setattrofunc` | __setattr__… 775 that acts the same as the :c:member:`~PyTypeObject.tp_setattro` function, but taking a C string 780 Group: :attr:`tp_setattr`, :attr:`tp_setattro` 782 … This field is inherited by subtypes together with :c:member:`~PyTypeObject.tp_setattro`: a subtype 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… 966 .. c:member:: setattrofunc PyTypeObject.tp_setattro 972 int tp_setattro(PyObject *self, PyObject *attr, PyObject *value); 981 Group: :attr:`tp_setattr`, :attr:`tp_setattro` 984 …inherits both :c:member:`~PyTypeObject.tp_setattr` and :c:member:`~PyTypeObject.tp_setattro` from … [all …]
|
D | object.rst | 102 to be put into a type object's :c:member:`~PyTypeObject.tp_setattro`
|
/third_party/python/Doc/extending/ |
D | newtypes.rst | 218 setattrofunc tp_setattro; 250 should leave the :c:member:`~PyTypeObject.tp_getattro` and :c:member:`~PyTypeObject.tp_setattro` fi… 332 \member{tp_getattro} and \member{tp_setattro} handlers. The
|
/third_party/python/Modules/_ctypes/ |
D | _ctypes.c | 894 if (-1 == PyType_Type.tp_setattro(self, key, value)) in PyCStructType_setattro()
|