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

Function stdlib_subdir

crates/vm/src/getpath.rs:23–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21 pub const BUILDSTDLIB_LANDMARK: &str = "Lib/os.py";
22
23 pub fn stdlib_subdir() -> String {
24 format!("lib/python{}.{}", version::MAJOR, version::MINOR)
25 }
26
27 pub fn stdlib_landmarks() -> [String; 2] {
28 let subdir = stdlib_subdir();

Callers 3

stdlib_landmarksFunction · 0.85
calculate_stdlib_dirFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected