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

Method to_saturated

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

Source from the content-addressed store, hash-verified

121 }
122
123 pub fn to_saturated(&self, vm: &VirtualMachine) -> PyResult<SaturatedSlice> {
124 SaturatedSlice::with_slice(self, vm)
125 }
126
127 #[pyslot]
128 fn slot_new(cls: PyTypeRef, args: FuncArgs, vm: &VirtualMachine) -> PyResult {

Callers 6

subscriptMethod · 0.80
ass_subscriptMethod · 0.80
getitem_by_sliceMethod · 0.80
setitem_by_sliceMethod · 0.80
init_sliceMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected