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

Method class

crates/vm/src/builtins/bytes.rs:84–86  ·  view source on GitHub ↗
(ctx: &Context)

Source from the content-addressed store, hash-verified

82impl PyPayload for PyBytes {
83 #[inline]
84 fn class(ctx: &Context) -> &'static Py<PyType> {
85 ctx.types.bytes_type
86 }
87}
88
89pub(crate) fn init(context: &'static Context) {

Callers 2

repeatMethod · 0.45
__reduce__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected