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

Function init_frozen

crates/vm/src/stdlib/_imp.rs:274–276  ·  view source on GitHub ↗
(name: PyUtf8StrRef, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

272
273 #[pyfunction]
274 fn init_frozen(name: PyUtf8StrRef, vm: &VirtualMachine) -> PyResult {
275 import::import_frozen(vm, name.as_str())
276 }
277
278 #[pyfunction]
279 fn is_frozen_package(name: PyUtf8StrRef, vm: &VirtualMachine) -> PyResult<bool> {

Callers

nothing calls this directly

Calls 2

import_frozenFunction · 0.85
as_strMethod · 0.45

Tested by

no test coverage detected