Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ enable
Function
enable
crates/vm/src/stdlib/gc.rs:26–28 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
24
/// Enable automatic garbage collection.
25
#[pyfunction]
26
fn enable() {
27
gc_state::gc_state().enable();
28
}
29
30
/// Disable automatic garbage collection.
31
#[pyfunction]
Callers
nothing calls this directly
Calls
2
gc_state
Function · 0.85
enable
Method · 0.45
Tested by
no test coverage detected