Home
last modified time | relevance | path

Searched refs:PureWindowsPath (Results 1 – 9 of 9) sorted by relevance

/external/python/cpython3/Doc/library/
Dpathlib.rst33 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/
Dcsv_to_wxs.py25 from pathlib import PureWindowsPath
53 target = PureWindowsPath(target)
/external/python/cpython3/PC/layout/support/
Dappxmanifest.py15 from pathlib import Path, PureWindowsPath
336 r = root if root else PureWindowsPath("")
357 for part in PureWindowsPath(key).parts:
/external/python/pyfakefs/pyfakefs/
Dfake_pathlib.py55 FakePathlibModule.PureWindowsPath._flavour = _FakeWindowsFlavour(
669 class PureWindowsPath(PurePath): class in FakePathlibModule
674 class WindowsPath(FakePath, PureWindowsPath):
/external/python/cpython3/Doc/tools/
Dsusp-ignored.csv185 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/
Dpathlib.py584 cls = PureWindowsPath if os.name == 'nt' else PurePosixPath
920 class PureWindowsPath(PurePath): class
1278 class WindowsPath(Path, PureWindowsPath):
/external/python/cpython3/Lib/
Dpathlib.py663 cls = PureWindowsPath if os.name == 'nt' else PurePosixPath
1042 class PureWindowsPath(PurePath): class
1568 class WindowsPath(Path, PureWindowsPath):
/external/python/pyfakefs/pyfakefs/tests/
Dfake_pathlib_test.py68 self.assertTrue(isinstance(path, self.pathlib.PureWindowsPath))
74 self.assertTrue(self.pathlib.PureWindowsPath())
/external/python/cpython3/Lib/test/
Dtest_pathlib.py762 cls = pathlib.PureWindowsPath
1271 pathlib.PureWindowsPath if os.name == 'nt' else pathlib.PurePosixPath)
1275 q = pathlib.PureWindowsPath('a')
1280 q = pathlib.PureWindowsPath('a')