Searched refs:PureWindowsPath (Results 1 – 6 of 6) sorted by relevance
/external/python/cpython3/Doc/library/ |
D | pathlib.rst | 33 can instantiate :class:`PureWindowsPath`. 102 it creates either a :class:`PurePosixPath` or a :class:`PureWindowsPath`):: 126 >>> PureWindowsPath('c:/Windows', 'd:bar') 127 PureWindowsPath('d:bar') 132 >>> PureWindowsPath('c:/Windows', '/Program Files') 133 PureWindowsPath('c:/Program Files') 166 .. class:: PureWindowsPath(*pathsegments) 171 >>> PureWindowsPath('c:/Program Files/') 172 PureWindowsPath('c:/Program Files') 189 >>> PureWindowsPath('foo') == PureWindowsPath('FOO') [all …]
|
/external/python/cpython3/Tools/msi/ |
D | csv_to_wxs.py | 25 from pathlib import PureWindowsPath 53 target = PureWindowsPath(target)
|
/external/python/cpython3/PC/layout/support/ |
D | appxmanifest.py | 15 from pathlib import Path, PureWindowsPath 352 r = root if root else PureWindowsPath("") 363 for part in PureWindowsPath(key).parts:
|
/external/python/cpython3/Doc/tools/ |
D | susp-ignored.csv | 176 library/pathlib,,:bar,">>> PureWindowsPath('c:/Windows', 'd:bar')" 177 library/pathlib,,:bar,PureWindowsPath('d:bar') 178 library/pathlib,,:Program,>>> PureWindowsPath('c:Program Files/').root 179 library/pathlib,,:Program,>>> PureWindowsPath('c:Program Files/').anchor
|
/external/python/cpython3/Lib/ |
D | pathlib.py | 625 cls = PureWindowsPath if os.name == 'nt' else PurePosixPath 973 class PureWindowsPath(PurePath): class 1477 class WindowsPath(Path, PureWindowsPath):
|
/external/python/cpython3/Lib/test/ |
D | test_pathlib.py | 708 cls = pathlib.PureWindowsPath 1150 pathlib.PureWindowsPath if os.name == 'nt' else pathlib.PurePosixPath) 1154 q = pathlib.PureWindowsPath('a') 1159 q = pathlib.PureWindowsPath('a')
|