Home
last modified time | relevance | path

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

/external/python/cpython3/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 …]
/external/python/cpython3/Lib/
Dpathlib.py625 cls = PureWindowsPath if os.name == 'nt' else PurePosixPath
963 class PurePosixPath(PurePath): class
1470 class PosixPath(Path, PurePosixPath):
/external/python/cpython3/Lib/test/
Dtest_pathlib.py632 cls = pathlib.PurePosixPath
1150 pathlib.PureWindowsPath if os.name == 'nt' else pathlib.PurePosixPath)
1153 p = pathlib.PurePosixPath('a')
1158 p = pathlib.PurePosixPath('a')