/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 | 211 e.g. :class:`pathlib.PurePath`.
|
/external/pigweed/pw_build/py/pw_build/ |
D | zip.py | 84 destination_path = pathlib.PurePath(destination) 107 destination_path: pathlib.PurePath, zip_file: zipfile.ZipFile): argument
|
/external/python/parse_type/tasks/_vendor/ |
D | pathlib.py | 565 class PurePath(object): class 583 if cls is PurePath: 598 if isinstance(a, PurePath): 690 if not isinstance(other, PurePath): 705 if not isinstance(other, PurePath) or self._flavour is not other._flavour: 710 if not isinstance(other, PurePath) or self._flavour is not other._flavour: 715 if not isinstance(other, PurePath) or self._flavour is not other._flavour: 720 if not isinstance(other, PurePath) or self._flavour is not other._flavour: 915 class PurePosixPath(PurePath): 920 class PureWindowsPath(PurePath): [all …]
|
/external/python/cpython3/Lib/ |
D | pathlib.py | 642 class PurePath(object): class 662 if cls is PurePath: 677 if isinstance(a, PurePath): 774 if not isinstance(other, PurePath): 786 if not isinstance(other, PurePath) or self._flavour is not other._flavour: 791 if not isinstance(other, PurePath) or self._flavour is not other._flavour: 796 if not isinstance(other, PurePath) or self._flavour is not other._flavour: 801 if not isinstance(other, PurePath) or self._flavour is not other._flavour: 1029 os.PathLike.register(PurePath) 1032 class PurePosixPath(PurePath): [all …]
|
/external/python/cpython3/Tools/peg_generator/scripts/ |
D | test_parse_directory.py | 11 from pathlib import PurePath 187 if any(PurePath(file).match(pattern) for pattern in excluded_files):
|
/external/python/pyfakefs/pyfakefs/ |
D | fake_pathlib.py | 652 PurePath = pathlib.PurePath if pathlib else object variable in FakePathlibModule 664 class PurePosixPath(PurePath): 669 class PureWindowsPath(PurePath):
|
/external/python/cpython3/Tools/peg_generator/pegen/ |
D | testutil.py | 86 grammar: Grammar, path: pathlib.PurePath, debug: bool = False argument
|
/external/pigweed/pw_build/py/ |
D | zip_test.py | 56 directory = pathlib.PurePath('/'.join(directories[:i + 1]))
|
/external/python/cpython3/Lib/test/test_importlib/ |
D | util.py | 13 from pathlib import Path, PurePath 491 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 | 665 pathlib.PurePath(self.path))
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.9.0b2.rst | 336 Updated the error message and docs of PurePath.relative_to() to better
|
D | 3.7.0b2.rst | 500 Improve docstrings for `pathlib.PurePath` subclasses.
|
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.8.0a1.rst | 3549 Fix %-formatting in :meth:`pathlib.PurePath.with_suffix` when formatting an 6663 Improve docstrings for `pathlib.PurePath` subclasses.
|
/external/python/cpython3/Lib/test/ |
D | test_pathlib.py | 1266 cls = pathlib.PurePath 2577 result = pathlib.PurePath("test") / self.CompatPath("right") 2583 pathlib.PurePath("test") / 10 2586 result = self.CompatPath("left") / pathlib.PurePath("test") 2592 10 / pathlib.PurePath("test")
|
D | test_httpservers.py | 1138 self.handler_3 = SocketlessRequestHandler(directory=pathlib.PurePath('bar'))
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.9.rst | 1107 * Division handling of :class:`~pathlib.PurePath` now returns ``NotImplemented`` 1109 instance of ``str`` or :class:`~pathlib.PurePath`. This allows creating
|
/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.
|