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

Function _stdlib_dir

crates/vm/src/stdlib/sys.rs:300–302  ·  view source on GitHub ↗
(vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

298 }
299 #[pyattr]
300 fn _stdlib_dir(vm: &VirtualMachine) -> PyObjectRef {
301 vm.state.config.paths.stdlib_dir.clone().to_pyobject(vm)
302 }
303
304 // alphabetical order with segments of pyattr and others
305

Callers

nothing calls this directly

Calls 2

to_pyobjectMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected