MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / memory_subscript

Function memory_subscript

Objects/memoryobject.c:559–622  ·  view source on GitHub ↗

mem[obj] returns a bytes object holding the data for one element if obj fully indexes the memory view or another memory-view object if it does not. 0-d memory-view objects can be referenced using ... or () but not with anything else. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 10

PyErr_SetStringFunction · 0.85
PyNumber_AsSsize_tFunction · 0.85
memory_itemFunction · 0.85
PySlice_GetIndicesExFunction · 0.85
get_shape0Function · 0.85
PyObject_GetBufferFunction · 0.85
PyMemoryView_FromBufferFunction · 0.85
PyErr_SetNoneFunction · 0.85
PyErr_FormatFunction · 0.85
PyErr_OccurredFunction · 0.50

Tested by

no test coverage detected