Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pybind/pybind11
/ __fspath__
Method
__fspath__
tests/test_stl.py:273–274 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
271
272
class
PseudoBytesPath:
273
def
__fspath__(self):
274
return
b
"foo/bar"
275
276
# Single argument
277
assert m.parent_path(Path(
"foo/bar"
)) == Path(
"foo"
)
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected