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

Function disable

crates/stdlib/src/faulthandler.rs:771–775  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

769 // faulthandler_disable_py
770 #[pyfunction]
771 fn disable() -> bool {
772 let was_enabled = FATAL_ERROR.enabled.load(Ordering::Relaxed);
773 faulthandler_disable_internal();
774 was_enabled
775 }
776
777 // faulthandler_is_enabled
778 #[pyfunction]

Callers

nothing calls this directly

Calls 2

loadMethod · 0.45

Tested by

no test coverage detected