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

Method class

crates/vm/src/builtins/bytearray.rs:64–66  ·  view source on GitHub ↗
(ctx: &Context)

Source from the content-addressed store, hash-verified

62
63impl PyPayload for PyByteArray {
64 fn class(ctx: &Context) -> &'static Py<PyType> {
65 ctx.types.bytearray_type
66 }
67}
68
69/// Fill bytearray class methods dictionary.

Callers 3

slot_strMethod · 0.45
__reduce__Method · 0.45
repr_strMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected