Home
last modified time | relevance | path

Searched refs:PurePath (Results 1 – 12 of 12) sorted by relevance

/external/python/cpython3/Doc/library/
Dpathlib.rst99 .. 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 …]
Dos.rst208 e.g. :class:`pathlib.PurePath`.
/external/python/cpython3/Lib/
Dpathlib.py604 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/
Dutil.py12 from pathlib import Path, PurePath
469 path = PurePath('utf-8.file')
Dtest_util.py684 path = pathlib.PurePath('foo', 'bar', 'baz', 'qux.py')
756 path = pathlib.PurePath('foo', 'bar', 'baz', '__pycache__',
Dtest_spec.py665 pathlib.PurePath(self.path))
/external/python/cpython3/Misc/NEWS.d/
D3.7.0b2.rst501 Improve docstrings for `pathlib.PurePath` subclasses.
D3.6.5rc1.rst603 Improve docstrings for `pathlib.PurePath` subclasses.
D3.7.1rc1.rst555 Fix %-formatting in :meth:`pathlib.PurePath.with_suffix` when formatting an
D3.5.0a1.rst5274 Add missing documentation for PurePath.with_name() and
5275 PurePath.with_suffix().
/external/python/cpython3/Lib/test/
Dtest_pathlib.py1145 cls = pathlib.PurePath
/external/python/cpython3/Misc/
DHISTORY2139 - Issue #20765: Add missing documentation for PurePath.with_name() and
2140 PurePath.with_suffix().
2895 - Issue #19918: Fix PurePath.relative_to() under Windows.