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

Function init

crates/vm/src/stdlib/_typing.rs:15–17  ·  view source on GitHub ↗

Initialize typing types (call extend_class)

(ctx: &'static Context)

Source from the content-addressed store, hash-verified

13
14/// Initialize typing types (call extend_class)
15pub fn init(ctx: &'static Context) {
16 NoDefault::extend_class(ctx, ctx.types.typing_no_default_type);
17}
18
19pub fn call_typing_func_object<'a>(
20 vm: &VirtualMachine,

Callers 2

slot_initMethod · 0.70
spawnMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected