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

Function is_frozen

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

Source from the content-addressed store, hash-verified

193
194 #[pyfunction]
195 fn is_frozen(name: PyUtf8StrRef, vm: &VirtualMachine) -> bool {
196 super::find_frozen(name.as_str(), vm).is_ok()
197 }
198
199 #[pyfunction]
200 fn create_builtin(spec: PyObjectRef, vm: &VirtualMachine) -> PyResult {

Callers

nothing calls this directly

Calls 2

find_frozenFunction · 0.85
as_strMethod · 0.45

Tested by

no test coverage detected