Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ __fspath__
Method
__fspath__
crates/vm/src/stdlib/os.rs:862–864 ·
view source on GitHub ↗
(&self, vm: &VirtualMachine)
Source
from the content-addressed store, hash-verified
860
861
#[pymethod]
862
fn __fspath__(&self, vm: &VirtualMachine) -> PyResult {
863
self.path(vm)
864
}
865
866
#[pyclassmethod]
867
fn __class_getitem__(
Callers
nothing calls this directly
Calls
1
path
Method · 0.45
Tested by
no test coverage detected