Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ _from_parsed_string
Method
_from_parsed_string
Lib/pathlib/__init__.py:278–281 ·
view source on GitHub ↗
(self, path_str)
Source
from the content-addressed store, hash-verified
276
return
path
277
278
def
_from_parsed_string(self, path_str):
279
path = self.with_segments(path_str)
280
path._str = path_str or
'.'
281
return
path
282
283
@classmethod
284
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