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

Method class

crates/vm/src/builtins/union.rs:37–39  ·  view source on GitHub ↗
(ctx: &Context)

Source from the content-addressed store, hash-verified

35impl PyPayload for PyUnion {
36 #[inline]
37 fn class(ctx: &Context) -> &'static Py<PyType> {
38 ctx.types.union_type
39 }
40}
41
42impl PyUnion {

Callers 4

__instancecheck__Method · 0.45
__subclasscheck__Method · 0.45
is_unionableFunction · 0.45
has_union_operandsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected