Home
last modified time | relevance | path

Searched refs:PureWindowsPath (Results 1 – 6 of 6) 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
352 r = root if root else PureWindowsPath("")
363 for part in PureWindowsPath(key).parts:
/external/python/cpython3/Doc/tools/
Dsusp-ignored.csv176 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/
Dpathlib.py625 cls = PureWindowsPath if os.name == 'nt' else PurePosixPath
973 class PureWindowsPath(PurePath): class
1477 class WindowsPath(Path, PureWindowsPath):
/external/python/cpython3/Lib/test/
Dtest_pathlib.py708 cls = pathlib.PureWindowsPath
1150 pathlib.PureWindowsPath if os.name == 'nt' else pathlib.PurePosixPath)
1154 q = pathlib.PureWindowsPath('a')
1159 q = pathlib.PureWindowsPath('a')