Home
last modified time | relevance | path

Searched refs:mp_subscript (Results 1 – 10 of 10) sorted by relevance

/third_party/python/Objects/
Dtypeslots.inc6 {offsetof(PyMappingMethods, mp_subscript), offsetof(PyTypeObject, tp_as_mapping)},
Dabstract.c157 if (m && m->mp_subscript) { in PyObject_GetItem()
158 PyObject *item = m->mp_subscript(o, key); in PyObject_GetItem()
1904 if (Py_TYPE(s)->tp_as_mapping && Py_TYPE(s)->tp_as_mapping->mp_subscript) { in PySequence_GetItem()
1918 if (mp && mp->mp_subscript) { in PySequence_GetSlice()
1923 PyObject *res = mp->mp_subscript(s, slice); in PySequence_GetSlice()
2313 Py_TYPE(o)->tp_as_mapping->mp_subscript; in PyMapping_Check()
Dunionobject.c399 .mp_subscript = union_getitem,
Dgenericaliasobject.c376 .mp_subscript = ga_getitem,
Dbytesobject.c645 if (Py_TYPE(args)->tp_as_mapping && Py_TYPE(args)->tp_as_mapping->mp_subscript && in _PyBytes_FormatEx()
Dtypeobject.c5850 COPYMAP(mp_subscript); in inherit_slots()
8052 MPSLOT("__getitem__", mp_subscript, slot_mp_subscript,
/third_party/python/Include/cpython/
Dobject.h167 binaryfunc mp_subscript; member
/third_party/protobuf/python/google/protobuf/pyext/
Ddescriptor_containers.cc630 return Py_TYPE(list.get())->tp_as_mapping->mp_subscript(list.get(), item); in SeqSubscript()
/third_party/python/Misc/NEWS.d/
D3.10.0a2.rst187 :c:member:`~PyMappingMethods.mp_subscript` of :class:`range`. Patch by
/third_party/python/Doc/c-api/
Dtypeobj.rst294 …| :c:member:`~PyMappingMethods.mp_subscript` | :c:type:`binaryfunc` | __…
2209 .. c:member:: binaryfunc PyMappingMethods.mp_subscript
2263 the subscription via the :c:member:`~PyMappingMethods.mp_subscript` slot.