Searched refs:PureWindowsPath (Results 1 – 9 of 9) 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 336 r = root if root else PureWindowsPath("") 357 for part in PureWindowsPath(key).parts:
|
/external/python/pyfakefs/pyfakefs/ |
D | fake_pathlib.py | 55 FakePathlibModule.PureWindowsPath._flavour = _FakeWindowsFlavour( 669 class PureWindowsPath(PurePath): class in FakePathlibModule 674 class WindowsPath(FakePath, PureWindowsPath):
|
/external/python/cpython3/Doc/tools/ |
D | susp-ignored.csv | 185 library/pathlib,,:bar,">>> PureWindowsPath('c:/Windows', 'd:bar')" 186 library/pathlib,,:bar,PureWindowsPath('d:bar') 187 library/pathlib,,:Program,>>> PureWindowsPath('c:Program Files/').root 188 library/pathlib,,:Program,>>> PureWindowsPath('c:Program Files/').anchor
|
/external/python/parse_type/tasks/_vendor/ |
D | pathlib.py | 584 cls = PureWindowsPath if os.name == 'nt' else PurePosixPath 920 class PureWindowsPath(PurePath): class 1278 class WindowsPath(Path, PureWindowsPath):
|
/external/python/cpython3/Lib/ |
D | pathlib.py | 663 cls = PureWindowsPath if os.name == 'nt' else PurePosixPath 1042 class PureWindowsPath(PurePath): class 1568 class WindowsPath(Path, PureWindowsPath):
|
/external/python/pyfakefs/pyfakefs/tests/ |
D | fake_pathlib_test.py | 68 self.assertTrue(isinstance(path, self.pathlib.PureWindowsPath)) 74 self.assertTrue(self.pathlib.PureWindowsPath())
|
/external/python/cpython3/Lib/test/ |
D | test_pathlib.py | 762 cls = pathlib.PureWindowsPath 1271 pathlib.PureWindowsPath if os.name == 'nt' else pathlib.PurePosixPath) 1275 q = pathlib.PureWindowsPath('a') 1280 q = pathlib.PureWindowsPath('a')
|