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

Method isascii

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

Source from the content-addressed store, hash-verified

671 #[pymethod]
672 #[inline(always)]
673 pub const fn isascii(&self) -> bool {
674 matches!(self.kind(), StrKind::Ascii)
675 }
676
677 #[pymethod]
678 fn __sizeof__(&self) -> usize {

Callers 3

_compare_digestFunction · 0.45
latin_1_encodeFunction · 0.45
ascii_encodeFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected