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

Method __getitem__

crates/vm/src/builtins/bytes.rs:251–253  ·  view source on GitHub ↗
(&self, needle: PyObjectRef, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

249 }
250
251 fn __getitem__(&self, needle: PyObjectRef, vm: &VirtualMachine) -> PyResult {
252 self._getitem(&needle, vm)
253 }
254
255 #[pymethod]
256 fn isalnum(&self) -> bool {

Callers

nothing calls this directly

Calls 1

_getitemMethod · 0.45

Tested by

no test coverage detected