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

Method class

crates/vm/src/builtins/namespace.rs:23–25  ·  view source on GitHub ↗
(ctx: &Context)

Source from the content-addressed store, hash-verified

21impl PyPayload for PyNamespace {
22 #[inline]
23 fn class(ctx: &Context) -> &'static Py<PyType> {
24 ctx.types.namespace_type
25 }
26}
27
28impl DefaultConstructor for PyNamespace {}

Callers 3

__reduce__Method · 0.45
__replace__Method · 0.45
repr_wtf8Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected