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

Method get_chars

crates/vm/src/builtins/str.rs:2251–2253  ·  view source on GitHub ↗
(&self, range: core::ops::Range<usize>)

Source from the content-addressed store, hash-verified

2249 }
2250
2251 fn get_chars(&self, range: core::ops::Range<usize>) -> &Self {
2252 rustpython_common::str::get_chars(self, range)
2253 }
2254
2255 fn is_empty(&self) -> bool {
2256 Self::is_empty(self)

Callers 2

endswithMethod · 0.45
startswithMethod · 0.45

Calls 2

get_charsFunction · 0.85
get_codepointsFunction · 0.85

Tested by

no test coverage detected