Home
last modified time | relevance | path

Searched refs:PurePosixPath (Results 1 – 5 of 5) sorted by relevance

/third_party/python/Doc/library/
Dpathlib.rst102 it creates either a :class:`PurePosixPath` or a :class:`PureWindowsPath`)::
105 PurePosixPath('setup.py')
112 PurePosixPath('foo/some/path/bar')
114 PurePosixPath('foo/bar')
119 PurePosixPath('.')
125 PurePosixPath('/usr/lib64')
140 PurePosixPath('foo/bar')
142 PurePosixPath('foo/bar')
144 PurePosixPath('foo/../bar')
146 (a naïve approach would make ``PurePosixPath('foo/../bar')`` equivalent
[all …]
/third_party/python/Lib/test/test_importlib/
Dupdate-zips.py38 dst = 'ziptestdata' / pathlib.PurePosixPath(rel.as_posix())
/third_party/python/Lib/
Dpathlib.py559 cls = PureWindowsPath if os.name == 'nt' else PurePosixPath
920 class PurePosixPath(PurePath): class
1444 class PosixPath(Path, PurePosixPath):
/third_party/python/Lib/importlib/metadata/
D__init__.py460 class PackagePath(pathlib.PurePosixPath):
/third_party/python/Lib/test/
Dtest_pathlib.py702 cls = pathlib.PurePosixPath
1321 pathlib.PureWindowsPath if os.name == 'nt' else pathlib.PurePosixPath)
1324 p = pathlib.PurePosixPath('a')
1329 p = pathlib.PurePosixPath('a')