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

Method get_value

crates/vm/src/builtins/str.rs:1766–1769  ·  view source on GitHub ↗
(self, len: usize)

Source from the content-addressed store, hash-verified

1764
1765impl FindArgs {
1766 fn get_value(self, len: usize) -> (PyStrRef, core::ops::Range<usize>) {
1767 let range = adjust_indices(self.start, self.end, len);
1768 (self.sub, range)
1769 }
1770}
1771
1772#[derive(FromArgs)]

Callers 2

_findMethod · 0.45
countMethod · 0.45

Calls 1

adjust_indicesFunction · 0.85

Tested by

no test coverage detected