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

Method __init__

tools/python-3.11.9-amd64/Lib/pathlib.py:304–311  ·  view source on GitHub ↗
(self, child_parts, flavour)

Source from the content-addressed store, hash-verified

302 of a given path."""
303
304 def __init__(self, child_parts, flavour):
305 self.child_parts = child_parts
306 if child_parts:
307 self.successor = _make_selector(child_parts, flavour)
308 self.dironly = True
309 else:
310 self.successor = _TerminatingSelector()
311 self.dironly = False
312
313 def select_from(self, parent_path):
314 """Iterate over all child paths of `parent_path` matched by this

Callers

nothing calls this directly

Calls 2

_make_selectorFunction · 0.85

Tested by

no test coverage detected