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

Function is_finalized

crates/vm/src/stdlib/gc.rs:242–244  ·  view source on GitHub ↗
(obj: PyObjectRef)

Source from the content-addressed store, hash-verified

240 /// Return True if the object has been finalized by the garbage collector.
241 #[pyfunction]
242 fn is_finalized(obj: PyObjectRef) -> bool {
243 obj.gc_finalized()
244 }
245
246 /// Freeze all objects tracked by gc.
247 #[pyfunction]

Callers

nothing calls this directly

Calls 1

gc_finalizedMethod · 0.80

Tested by

no test coverage detected