MCPcopy Index your code
hub / github.com/RustPython/RustPython / __getitem__

Method __getitem__

crates/stdlib/src/mmap.rs:1400–1402  ·  view source on GitHub ↗
(&self, needle: PyObjectRef, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

1398 }
1399
1400 fn __getitem__(&self, needle: PyObjectRef, vm: &VirtualMachine) -> PyResult<PyObjectRef> {
1401 self.getitem_inner(&needle, vm)
1402 }
1403
1404 fn __setitem__(
1405 zelf: &Py<Self>,

Callers

nothing calls this directly

Calls 1

getitem_innerMethod · 0.45

Tested by

no test coverage detected