Home
last modified time | relevance | path

Searched refs:PureWindowsPath (Results 1 – 10 of 10) 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/pyfakefs/pyfakefs/
Dfake_pathlib.py50 FakePathlibModule.PureWindowsPath._flavour = _FakeWindowsFlavour(
724 class PureWindowsPath(PurePath): class in FakePathlibModule
728 class WindowsPath(FakePath, PureWindowsPath):
812 RealPathlibModule.PureWindowsPath._flavour = pathlib._WindowsFlavour()
820 class PureWindowsPath(PurePath): class in RealPathlibModule
825 class WindowsPath(RealPath, PureWindowsPath):
/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/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.py559 cls = PureWindowsPath if os.name == 'nt' else PurePosixPath
930 class PureWindowsPath(PurePath): class
1451 class WindowsPath(Path, PureWindowsPath):
/external/python/pyfakefs/pyfakefs/tests/
Dfake_pathlib_test.py58 self.assertTrue(isinstance(path, self.pathlib.PureWindowsPath))
69 self.assertTrue(self.pathlib.PureWindowsPath())
/external/python/cpython3/Misc/NEWS.d/
D3.10.0rc1.rst418 :meth:`pathlib.PureWindowsPath.is_reserved` now identifies a greater range
/external/python/cpython3/Lib/test/
Dtest_pathlib.py778 cls = pathlib.PureWindowsPath
1321 pathlib.PureWindowsPath if os.name == 'nt' else pathlib.PurePosixPath)
1325 q = pathlib.PureWindowsPath('a')
1330 q = pathlib.PureWindowsPath('a')