Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
35
impl PyPayload for PyUnion {
36
#[inline]
37
fn class(ctx: &Context) -> &'static Py<PyType> {
38
ctx.types.union_type
39
}
40
}
41
42
impl PyUnion {
Callers
4
__instancecheck__
Method · 0.45
__subclasscheck__
Method · 0.45
is_unionable
Function · 0.45
has_union_operands
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected