Searched refs:MultiplexedPath (Results 1 – 6 of 6) sorted by relevance
/external/python/cpython3/Lib/test/test_importlib/resources/ |
D | test_reader.py | 6 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/ |
D | readers.py | 9 FileReader, ZipReader, MultiplexedPath, NamespaceReader,
|
/external/python/cpython3/Lib/importlib/resources/ |
D | readers.py | 61 class MultiplexedPath(abc.Traversable): class 138 self.path = MultiplexedPath(*map(self._resolve, namespace_path))
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.13.0b2.rst | 533 including: ``MultiplexedPath`` now expects ``Traversable`` paths, 534 deprecating string arguments to ``MultiplexedPath``; Enabled support for
|
D | 3.12.0a6.rst | 360 including fix for ``MultiplexedPath`` to support directories in multiple
|
D | 3.11.0a1.rst | 2979 Declare readers.MultiplexedPath.name as a property per the spec.
|