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

Method step

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

Source from the content-addressed store, hash-verified

110
111 #[pygetset]
112 fn step(&self, vm: &VirtualMachine) -> PyObjectRef {
113 self.step.clone().to_pyobject(vm)
114 }
115
116 pub(crate) fn step_ref<'a>(&'a self, vm: &'a VirtualMachine) -> &'a PyObject {
117 match &self.step {

Callers 1

inner_indicesMethod · 0.45

Calls 2

to_pyobjectMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected