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

Method get_chars

crates/vm/src/bytes_inner.rs:1067–1069  ·  view source on GitHub ↗
(&self, range: core::ops::Range<usize>)

Source from the content-addressed store, hash-verified

1065 }
1066
1067 fn get_chars(&self, range: core::ops::Range<usize>) -> &Self {
1068 &self[range]
1069 }
1070
1071 fn is_empty(&self) -> bool {
1072 Self::is_empty(self)

Callers 2

py_findMethod · 0.45
py_countMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected