Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ _from_parsed_string
Method
_from_parsed_string
Lib/pathlib/__init__.py:276–279 ·
view source on GitHub ↗
(self, path_str)
Source
from the content-addressed store, hash-verified
274
return
path
275
276
def
_from_parsed_string(self, path_str):
277
path = self.with_segments(path_str)
278
path._str = path_str or
'.'
279
return
path
280
281
@classmethod
282
def
_parse_path(cls, path):
Callers
3
_from_parsed_parts
Method · 0.95
walk
Method · 0.80
absolute
Method · 0.80
Calls
1
with_segments
Method · 0.95
Tested by
no test coverage detected