Searched refs:mp_ass_subscript (Results 1 – 9 of 9) sorted by relevance
/external/python/cpython3/Objects/ |
D | abstract.c | 209 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()
|
D | typeslots.inc | 4 offsetof(PyHeapTypeObject, as_mapping.mp_ass_subscript),
|
D | typeobject.c | 5271 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/ |
D | abstract.c | 172 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);
|
D | typeobject.c | 4024 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/ |
D | object.h | 175 objobjargproc mp_ass_subscript; member
|
/external/python/cpython2/Include/ |
D | object.h | 292 objobjargproc mp_ass_subscript; member
|
/external/python/cpython3/Doc/c-api/ |
D | typeobj.rst | 294 …| :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/ |
D | typeobj.rst | 1255 .. c:member:: objobjargproc PyMappingMethods.mp_ass_subscript
|