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

Method class

crates/vm/src/builtins/genericalias.rs:53–55  ·  view source on GitHub ↗
(ctx: &Context)

Source from the content-addressed store, hash-verified

51impl PyPayload for PyGenericAlias {
52 #[inline]
53 fn class(ctx: &Context) -> &'static Py<PyType> {
54 ctx.types.generic_alias_type
55 }
56}
57
58impl Constructor for PyGenericAlias {

Callers 6

repr_argMethod · 0.45
is_unpacked_typevartupleFunction · 0.45
subs_tvarsFunction · 0.45
unpack_argsFunction · 0.45
subs_parametersFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected