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

Function set_handle_inheritable

crates/vm/src/stdlib/nt.rs:1931–1937  ·  view source on GitHub ↗
(
        handle: intptr_t,
        inheritable: bool,
        vm: &VirtualMachine,
    )

Source from the content-addressed store, hash-verified

1929
1930 #[pyfunction]
1931 fn set_handle_inheritable(
1932 handle: intptr_t,
1933 inheritable: bool,
1934 vm: &VirtualMachine,
1935 ) -> PyResult<()> {
1936 raw_set_handle_inheritable(handle, inheritable).map_err(|e| e.to_pyexception(vm))
1937 }
1938
1939 #[derive(FromArgs)]
1940 struct MkdirArgs<'a> {

Callers 1

set_inheritableFunction · 0.85

Calls 2

to_pyexceptionMethod · 0.45

Tested by

no test coverage detected