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

Method subscript

crates/vm/src/protocol/mapping.rs:130–132  ·  view source on GitHub ↗
(self, needle: &impl AsObject, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

128 }
129
130 pub fn subscript(self, needle: &impl AsObject, vm: &VirtualMachine) -> PyResult {
131 self._subscript(needle.as_object(), vm)
132 }
133
134 pub fn ass_subscript(
135 self,

Callers 5

locals_to_fastMethod · 0.45
execute_instructionMethod · 0.45
get_itemMethod · 0.45
get_sliceMethod · 0.45
get_innerMethod · 0.45

Calls 2

_subscriptMethod · 0.80
as_objectMethod · 0.45

Tested by

no test coverage detected