Searched refs:PurePath (Results 1 – 12 of 12) sorted by relevance
/external/python/cpython3/Doc/library/ |
D | pathlib.rst | 99 .. class:: PurePath(*pathsegments) 104 >>> PurePath('setup.py') # Running on a Unix machine 111 >>> PurePath('foo', 'some/path', 'bar') 113 >>> PurePath(Path('foo'), Path('bar')) 118 >>> PurePath() 124 >>> PurePath('/etc', '/usr', 'lib64') 139 >>> PurePath('foo//bar') 141 >>> PurePath('foo/./bar') 143 >>> PurePath('foo/../bar') 158 A subclass of :class:`PurePath`, this path flavour represents non-Windows [all …]
|
D | os.rst | 208 e.g. :class:`pathlib.PurePath`.
|
/external/python/cpython3/Lib/ |
D | pathlib.py | 604 class PurePath(object): class 624 if cls is PurePath: 639 if isinstance(a, PurePath): 736 if not isinstance(other, PurePath): 748 if not isinstance(other, PurePath) or self._flavour is not other._flavour: 753 if not isinstance(other, PurePath) or self._flavour is not other._flavour: 758 if not isinstance(other, PurePath) or self._flavour is not other._flavour: 763 if not isinstance(other, PurePath) or self._flavour is not other._flavour: 960 os.PathLike.register(PurePath) 963 class PurePosixPath(PurePath): [all …]
|
/external/python/cpython3/Lib/test/test_importlib/ |
D | util.py | 12 from pathlib import Path, PurePath 469 path = PurePath('utf-8.file')
|
D | test_util.py | 684 path = pathlib.PurePath('foo', 'bar', 'baz', 'qux.py') 756 path = pathlib.PurePath('foo', 'bar', 'baz', '__pycache__',
|
D | test_spec.py | 665 pathlib.PurePath(self.path))
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.7.0b2.rst | 501 Improve docstrings for `pathlib.PurePath` subclasses.
|
D | 3.6.5rc1.rst | 603 Improve docstrings for `pathlib.PurePath` subclasses.
|
D | 3.7.1rc1.rst | 555 Fix %-formatting in :meth:`pathlib.PurePath.with_suffix` when formatting an
|
D | 3.5.0a1.rst | 5274 Add missing documentation for PurePath.with_name() and 5275 PurePath.with_suffix().
|
/external/python/cpython3/Lib/test/ |
D | test_pathlib.py | 1145 cls = pathlib.PurePath
|
/external/python/cpython3/Misc/ |
D | HISTORY | 2139 - Issue #20765: Add missing documentation for PurePath.with_name() and 2140 PurePath.with_suffix(). 2895 - Issue #19918: Fix PurePath.relative_to() under Windows.
|