Home
last modified time | relevance | path

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

/external/python/cpython2/Doc/includes/
Dtypestruct.h11 setattrfunc tp_setattr; member
/external/python/cpython3/Doc/includes/
Dtypestruct.h11 setattrfunc tp_setattr; member
/external/python/cpython3/Objects/
Dtypeslots.inc69 offsetof(PyHeapTypeObject, ht_type.tp_setattr),
Dobject.c818 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()
Dtypeobject.c2806 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/
Dobject.h203 setattrfunc tp_setattr; member
/external/python/cpython2/Objects/
Dobject.c1166 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()
Dtypeobject.c2494 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/
Dtypeobj.rst57 …| (: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/
Dnewtypes.rst203 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/
Dobject.h334 setattrfunc tp_setattr; member
/external/python/cpython2/Doc/c-api/
Dtypeobj.rst242 .. 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/
Dnewtypes.rst89 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*. ::