Home
last modified time | relevance | path

Searched refs:mp_ass_subscript (Results 1 – 9 of 9) sorted by relevance

/external/python/cpython3/Objects/
Dabstract.c209 if (m && m->mp_ass_subscript) in PyObject_SetItem()
210 return m->mp_ass_subscript(o, key, value); in PyObject_SetItem()
241 if (m && m->mp_ass_subscript) in PyObject_DelItem()
242 return m->mp_ass_subscript(o, key, (PyObject*)NULL); in PyObject_DelItem()
1817 if (Py_TYPE(s)->tp_as_mapping && Py_TYPE(s)->tp_as_mapping->mp_ass_subscript) { in PySequence_SetItem()
1850 if (Py_TYPE(s)->tp_as_mapping && Py_TYPE(s)->tp_as_mapping->mp_ass_subscript) { in PySequence_DelItem()
1869 if (mp && mp->mp_ass_subscript) { in PySequence_SetSlice()
1874 res = mp->mp_ass_subscript(s, slice, o); in PySequence_SetSlice()
1894 if (mp && mp->mp_ass_subscript) { in PySequence_DelSlice()
1899 res = mp->mp_ass_subscript(s, slice, NULL); in PySequence_DelSlice()
Dtypeslots.inc4 offsetof(PyHeapTypeObject, as_mapping.mp_ass_subscript),
Dtypeobject.c5271 COPYMAP(mp_ass_subscript); in inherit_slots()
7272 MPSLOT("__setitem__", mp_ass_subscript, slot_mp_ass_subscript,
7275 MPSLOT("__delitem__", mp_ass_subscript, slot_mp_ass_subscript,
/external/python/cpython2/Objects/
Dabstract.c172 if (m && m->mp_ass_subscript) in PyObject_SetItem()
173 return m->mp_ass_subscript(o, key, value); in PyObject_SetItem()
204 if (m && m->mp_ass_subscript) in PyObject_DelItem()
205 return m->mp_ass_subscript(o, key, (PyObject*)NULL); in PyObject_DelItem()
2123 } else if ((mp = s->ob_type->tp_as_mapping) && mp->mp_ass_subscript) {
2128 res = mp->mp_ass_subscript(s, slice, o);
Dtypeobject.c4024 COPYMAP(mp_ass_subscript);
6183 MPSLOT("__setitem__", mp_ass_subscript, slot_mp_ass_subscript,
6186 MPSLOT("__delitem__", mp_ass_subscript, slot_mp_ass_subscript,
/external/python/cpython3/Include/cpython/
Dobject.h175 objobjargproc mp_ass_subscript; member
/external/python/cpython2/Include/
Dobject.h292 objobjargproc mp_ass_subscript; member
/external/python/cpython3/Doc/c-api/
Dtypeobj.rst294 …| :c:member:`~PyMappingMethods.mp_ass_subscript` | :c:type:`objobjargproc` | __…
2101 .. c:member:: objobjargproc PyMappingMethods.mp_ass_subscript
2161 via the :c:member:`~PyMappingMethods.mp_ass_subscript` slot.
/external/python/cpython2/Doc/c-api/
Dtypeobj.rst1255 .. c:member:: objobjargproc PyMappingMethods.mp_ass_subscript