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

Method root

Lib/pathlib/__init__.py:351–357  ·  view source on GitHub ↗

The root of the path, if any.

(self)

Source from the content-addressed store, hash-verified

349
350 @property
351 def root(self):
352 """The root of the path, if any."""
353 try:
354 return self._root
355 except AttributeError:
356 self._drv, self._root, self._tail_cached = self._parse_path(self._raw_path)
357 return self._root
358
359 @property
360 def _tail(self):

Callers

nothing calls this directly

Calls 1

_parse_pathMethod · 0.95

Tested by

no test coverage detected