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

Method __getitem__

crates/stdlib/src/array.rs:994–996  ·  view source on GitHub ↗
(&self, needle: PyObjectRef, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

992 }
993
994 fn __getitem__(&self, needle: PyObjectRef, vm: &VirtualMachine) -> PyResult {
995 self.getitem_inner(&needle, vm)
996 }
997
998 fn setitem_inner(
999 zelf: &Py<Self>,

Callers

nothing calls this directly

Calls 1

getitem_innerMethod · 0.45

Tested by

no test coverage detected