Searched refs:tp_setattr (Results 1 – 13 of 13) sorted by relevance
/external/python/cpython2/Doc/includes/ |
D | typestruct.h | 11 setattrfunc tp_setattr; member
|
/external/python/cpython3/Doc/includes/ |
D | typestruct.h | 11 setattrfunc tp_setattr; member
|
/external/python/cpython3/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, ""),
|
/external/python/cpython3/Include/cpython/ |
D | object.h | 203 setattrfunc tp_setattr; member
|
/external/python/cpython2/Objects/ |
D | object.c | 1166 if (Py_TYPE(v)->tp_setattr != NULL) in PyObject_SetAttrString() 1167 return (*Py_TYPE(v)->tp_setattr)(v, (char*)name, w); in PyObject_SetAttrString() 1256 if (tp->tp_setattr != NULL) { in PyObject_SetAttr() 1257 err = (*tp->tp_setattr)(v, PyString_AS_STRING(name), value); in PyObject_SetAttr()
|
D | typeobject.c | 2494 if (base->tp_setattr == NULL && base->tp_setattro == NULL) in type_new() 4047 if (type->tp_setattr == NULL && type->tp_setattro == NULL) { 4048 type->tp_setattr = base->tp_setattr; 6042 TPSLOT("__setattr__", tp_setattr, NULL, NULL, ""), 6043 TPSLOT("__delattr__", tp_setattr, NULL, NULL, ""),
|
/external/python/cpython3/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 */
|
/external/python/cpython3/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``. ::
|
/external/python/cpython2/Include/ |
D | object.h | 334 setattrfunc tp_setattr; member
|
/external/python/cpython2/Doc/c-api/ |
D | typeobj.rst | 242 .. c:member:: setattrfunc PyTypeObject.tp_setattr 250 PyObject * tp_setattr(PyObject *o, char *attr_name, PyObject *v); 254 …inherits both :c:member:`~PyTypeObject.tp_setattr` and :c:member:`~PyTypeObject.tp_setattro` from … 255 …the subtype's :c:member:`~PyTypeObject.tp_setattr` and :c:member:`~PyTypeObject.tp_setattro` are b… 402 This field is inherited by subtypes together with :c:member:`~PyTypeObject.tp_setattr`: a subtype 403 …inherits both :c:member:`~PyTypeObject.tp_setattr` and :c:member:`~PyTypeObject.tp_setattro` from … 404 …the subtype's :c:member:`~PyTypeObject.tp_setattr` and :c:member:`~PyTypeObject.tp_setattro` are b…
|
/external/python/cpython2/Doc/extending/ |
D | newtypes.rst | 89 0, /* tp_setattr */ 1126 setattrfunc tp_setattr; 1295 The :c:member:`~PyTypeObject.tp_setattr` handler is called when the :meth:`__setattr__` or 1299 :c:member:`~PyTypeObject.tp_setattr` handler should be set to *NULL*. ::
|