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

Method start

crates/vm/src/builtins/slice.rs:95–97  ·  view source on GitHub ↗
(&self, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

93impl PySlice {
94 #[pygetset]
95 fn start(&self, vm: &VirtualMachine) -> PyObjectRef {
96 self.start.clone().to_pyobject(vm)
97 }
98
99 pub(crate) fn start_ref<'a>(&'a self, vm: &'a VirtualMachine) -> &'a PyObject {
100 match &self.start {

Callers 1

inner_indicesMethod · 0.45

Calls 2

to_pyobjectMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected