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

Method char_len

crates/vm/src/builtins/str.rs:667–669  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

665
666 #[inline]
667 pub fn char_len(&self) -> usize {
668 self.data.char_len()
669 }
670
671 #[pymethod]
672 #[inline(always)]

Callers 10

__str__Method · 0.45
data_lenMethod · 0.45
restart_fromMethod · 0.45
handle_encode_errorMethod · 0.45
__length_hint__Method · 0.45
__setstate__Method · 0.45
__format__Method · 0.45
do_slice_reverseMethod · 0.45
lenMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected