Home
last modified time | relevance | path

Searched refs:MultiplexedPath (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython3/Lib/test/test_importlib/resources/
Dtest_reader.py6 from importlib.readers import MultiplexedPath, NamespaceReader
22 MultiplexedPath()
26 MultiplexedPath(self.folder / 'binary.file')
29 contents = {path.name for path in MultiplexedPath(self.folder).iterdir()}
40 path.name for path in MultiplexedPath(self.folder, self.data01).iterdir()
53 self.assertEqual(MultiplexedPath(self.folder).is_dir(), True)
56 self.assertEqual(MultiplexedPath(self.folder).is_file(), False)
59 path = MultiplexedPath(self.folder)
69 path = MultiplexedPath(self.folder, self.data01)
75 assert isinstance(sub, MultiplexedPath)
[all …]
/external/python/cpython3/Lib/importlib/
Dreaders.py9 FileReader, ZipReader, MultiplexedPath, NamespaceReader,
/external/python/cpython3/Lib/importlib/resources/
Dreaders.py61 class MultiplexedPath(abc.Traversable): class
138 self.path = MultiplexedPath(*map(self._resolve, namespace_path))
/external/python/cpython3/Misc/NEWS.d/
D3.13.0b2.rst533 including: ``MultiplexedPath`` now expects ``Traversable`` paths,
534 deprecating string arguments to ``MultiplexedPath``; Enabled support for
D3.12.0a6.rst360 including fix for ``MultiplexedPath`` to support directories in multiple
D3.11.0a1.rst2979 Declare readers.MultiplexedPath.name as a property per the spec.