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

Method isprintable

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

Source from the content-addressed store, hash-verified

1086
1087 #[pymethod]
1088 fn isprintable(&self) -> bool {
1089 self.char_all(|c| c == '\u{0020}' || rustpython_literal::char::is_printable(c))
1090 }
1091
1092 #[pymethod]
1093 fn isspace(&self) -> bool {

Callers

nothing calls this directly

Calls 2

is_printableFunction · 0.85
char_allMethod · 0.80

Tested by

no test coverage detected