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

Function freeze

crates/vm/src/stdlib/gc.rs:248–250  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

246 /// Freeze all objects tracked by gc.
247 #[pyfunction]
248 fn freeze() {
249 gc_state::gc_state().freeze();
250 }
251
252 /// Unfreeze all objects in the permanent generation.
253 #[pyfunction]

Callers

nothing calls this directly

Calls 2

gc_stateFunction · 0.85
freezeMethod · 0.45

Tested by

no test coverage detected