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

Method _from_parsed_parts

Lib/pathlib/__init__.py:269–274  ·  view source on GitHub ↗
(self, drv, root, tail)

Source from the content-addressed store, hash-verified

267 return cls.parser.sep.join(tail)
268
269 def _from_parsed_parts(self, drv, root, tail):
270 path = self._from_parsed_string(self._format_parsed_parts(drv, root, tail))
271 path._drv = drv
272 path._root = root
273 path._tail_cached = tail
274 return path
275
276 def _from_parsed_string(self, path_str):
277 path = self.with_segments(path_str)

Callers 6

parentMethod · 0.95
with_nameMethod · 0.95
relative_toMethod · 0.95
__getitem__Method · 0.80
absoluteMethod · 0.80
expanduserMethod · 0.80

Calls 2

_from_parsed_stringMethod · 0.95
_format_parsed_partsMethod · 0.95

Tested by

no test coverage detected