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

Method is_compatible_with

crates/vm/src/codecs.rs:900–902  ·  view source on GitHub ↗
(&self, kind: StrKind)

Source from the content-addressed store, hash-verified

898}
899impl StrBuffer for PyStrRef {
900 fn is_compatible_with(&self, kind: StrKind) -> bool {
901 self.kind() <= kind
902 }
903}
904impl<'a> EncodeErrorHandler<PyEncodeContext<'a>> for ErrorsHandler<'_> {
905 fn handle_encode_error(

Callers

nothing calls this directly

Calls 1

kindMethod · 0.45

Tested by

no test coverage detected