Searched refs:mp_subscript (Results 1 – 10 of 10) sorted by relevance
/third_party/python/Objects/ |
D | typeslots.inc | 6 {offsetof(PyMappingMethods, mp_subscript), offsetof(PyTypeObject, tp_as_mapping)},
|
D | abstract.c | 157 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()
|
D | unionobject.c | 399 .mp_subscript = union_getitem,
|
D | genericaliasobject.c | 376 .mp_subscript = ga_getitem,
|
D | bytesobject.c | 645 if (Py_TYPE(args)->tp_as_mapping && Py_TYPE(args)->tp_as_mapping->mp_subscript && in _PyBytes_FormatEx()
|
D | typeobject.c | 5850 COPYMAP(mp_subscript); in inherit_slots() 8052 MPSLOT("__getitem__", mp_subscript, slot_mp_subscript,
|
/third_party/python/Include/cpython/ |
D | object.h | 167 binaryfunc mp_subscript; member
|
/third_party/protobuf/python/google/protobuf/pyext/ |
D | descriptor_containers.cc | 630 return Py_TYPE(list.get())->tp_as_mapping->mp_subscript(list.get(), item); in SeqSubscript()
|
/third_party/python/Misc/NEWS.d/ |
D | 3.10.0a2.rst | 187 :c:member:`~PyMappingMethods.mp_subscript` of :class:`range`. Patch by
|
/third_party/python/Doc/c-api/ |
D | typeobj.rst | 294 …| :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.
|