MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / _from_parts

Method _from_parts

tools/python-3.11.9-amd64/Lib/pathlib.py:505–513  ·  view source on GitHub ↗
(cls, args)

Source from the content-addressed store, hash-verified

503
504 @classmethod
505 def _from_parts(cls, args):
506 # We need to call _parse_args on the instance, so as to get the
507 # right flavour.
508 self = object.__new__(cls)
509 drv, root, parts = self._parse_args(args)
510 self._drv = drv
511 self._root = root
512 self._parts = parts
513 return self
514
515 @classmethod
516 def _from_parsed_parts(cls, drv, root, parts):

Callers 7

__rtruediv__Method · 0.95
__new__Method · 0.80
__new__Method · 0.80
absoluteMethod · 0.80
resolveMethod · 0.80
readlinkMethod · 0.80
expanduserMethod · 0.80

Calls 2

_parse_argsMethod · 0.95
__new__Method · 0.45

Tested by

no test coverage detected