Searched refs:PurePath (Results 1 – 23 of 23) sorted by relevance
/third_party/python/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 | importlib.metadata.rst | 205 ``PackagePath``, a :class:`pathlib.PurePath` derived object with additional ``dist``,
|
D | os.rst | 280 e.g. :class:`pathlib.PurePath`.
|
/third_party/skia/third_party/externals/jinja2/ |
D | _compat.py | 120 from pathlib import PurePath 122 PurePath = None variable 129 if PurePath is not None and isinstance(path, PurePath):
|
/third_party/jinja2/ |
D | _compat.py | 120 from pathlib import PurePath 122 PurePath = None variable 129 if PurePath is not None and isinstance(path, PurePath):
|
/third_party/python/Lib/ |
D | pathlib.py | 538 class PurePath(object): class 558 if cls is PurePath: 573 if isinstance(a, PurePath): 662 if not isinstance(other, PurePath): 674 if not isinstance(other, PurePath) or self._flavour is not other._flavour: 679 if not isinstance(other, PurePath) or self._flavour is not other._flavour: 684 if not isinstance(other, PurePath) or self._flavour is not other._flavour: 689 if not isinstance(other, PurePath) or self._flavour is not other._flavour: 917 os.PathLike.register(PurePath) 920 class PurePosixPath(PurePath): [all …]
|
/third_party/python/Tools/peg_generator/scripts/ |
D | test_parse_directory.py | 11 from pathlib import PurePath 114 if any(PurePath(file).match(pattern) for pattern in excluded_files):
|
/third_party/python/Tools/peg_generator/pegen/ |
D | testutil.py | 86 grammar: Grammar, path: pathlib.PurePath, debug: bool = False argument
|
/third_party/python/Lib/test/test_importlib/ |
D | util.py | 13 from pathlib import Path, PurePath 493 path = PurePath('utf-8.file')
|
D | test_util.py | 685 path = pathlib.PurePath('foo', 'bar', 'baz', 'qux.py') 755 path = pathlib.PurePath('foo', 'bar', 'baz', '__pycache__',
|
D | test_spec.py | 673 pathlib.PurePath(self.path))
|
/third_party/python/Lib/test/ |
D | test_pathlib.py | 1316 cls = pathlib.PurePath 2716 result = pathlib.PurePath("test") / self.CompatPath("right") 2722 pathlib.PurePath("test") / 10 2725 result = self.CompatPath("left") / pathlib.PurePath("test") 2731 10 / pathlib.PurePath("test")
|
D | test_httpservers.py | 1150 self.handler_3 = SocketlessRequestHandler(directory=pathlib.PurePath('bar'))
|
/third_party/python/Misc/NEWS.d/ |
D | 3.7.0b2.rst | 500 Improve docstrings for `pathlib.PurePath` subclasses.
|
D | 3.10.0a3.rst | 833 :attr:`pathlib.PurePath.parents` now supports negative indexing. Patch 914 Add slice support to :attr:`pathlib.PurePath.parents`.
|
D | 3.6.5rc1.rst | 602 Improve docstrings for `pathlib.PurePath` subclasses.
|
D | 3.9.0a1.rst | 2427 Add :meth:`is_relative_to` in :class:`PurePath` to determine whether or not 3489 Division handling of PurePath now returns NotImplemented instead of raising 3490 a TypeError when passed something other than an instance of str or PurePath.
|
D | 3.5.0a1.rst | 5274 Add missing documentation for PurePath.with_name() and 5275 PurePath.with_suffix().
|
D | 3.10.0a1.rst | 2347 Updated the error message and docs of PurePath.relative_to() to better
|
D | 3.8.0a1.rst | 3549 Fix %-formatting in :meth:`pathlib.PurePath.with_suffix` when formatting an 6663 Improve docstrings for `pathlib.PurePath` subclasses.
|
/third_party/python/Doc/whatsnew/ |
D | 3.10.rst | 1241 Add slice support to :attr:`PurePath.parents <pathlib.PurePath.parents>`. 1244 Add negative indexing support to :attr:`PurePath.parents 1245 <pathlib.PurePath.parents>`.
|
D | 3.9.rst | 1115 * Division handling of :class:`~pathlib.PurePath` now returns ``NotImplemented`` 1117 instance of ``str`` or :class:`~pathlib.PurePath`. This allows creating
|
/third_party/python/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.
|