Home
last modified time | relevance | path

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

12

/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 …]
Dimportlib.metadata.rst205 ``PackagePath``, a :class:`pathlib.PurePath` derived object with additional ``dist``,
/external/python/cpython3/Lib/
Dpathlib.py538 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 …]
/external/pigweed/pw_build/py/pw_build/
Dzip.py89 destination_path = pathlib.PurePath(destination)
117 destination_path: pathlib.PurePath, argument
/external/python/parse_type/tasks/_vendor/
Dpathlib.py565 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/pyfakefs/pyfakefs/
Dfake_pathlib.py36 from pathlib import PurePath
719 class PurePosixPath(PurePath):
724 class PureWindowsPath(PurePath):
816 class PurePosixPath(PurePath):
820 class PureWindowsPath(PurePath):
852 return isinstance(instance, PurePath)
/external/python/cpython3/Tools/peg_generator/scripts/
Dtest_parse_directory.py11 from pathlib import PurePath
114 if any(PurePath(file).match(pattern) for pattern in excluded_files):
/external/python/setuptools/pkg_resources/_vendor/importlib_resources/tests/
Dutil.py6 from pathlib import Path, PurePath
97 path = PurePath('utf-8.file')
/external/python/setuptools/setuptools/_vendor/importlib_resources/tests/
Dutil.py6 from pathlib import Path, PurePath
97 path = PurePath('utf-8.file')
/external/python/cpython3/Tools/peg_generator/pegen/
Dtestutil.py86 grammar: Grammar, path: pathlib.PurePath, debug: bool = False argument
/external/python/cpython3/Lib/test/test_importlib/
Dutil.py13 from pathlib import Path, PurePath
493 path = PurePath('utf-8.file')
Dtest_util.py685 path = pathlib.PurePath('foo', 'bar', 'baz', 'qux.py')
755 path = pathlib.PurePath('foo', 'bar', 'baz', '__pycache__',
Dtest_spec.py673 pathlib.PurePath(self.path))
/external/pigweed/pw_build/py/
Dzip_test.py56 directory = pathlib.PurePath('/'.join(directories[: i + 1]))
/external/python/cpython3/Lib/test/
Dtest_pathlib.py1316 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")
Dtest_httpservers.py1150 self.handler_3 = SocketlessRequestHandler(directory=pathlib.PurePath('bar'))
/external/python/cpython3/Misc/NEWS.d/
D3.7.0b2.rst500 Improve docstrings for `pathlib.PurePath` subclasses.
D3.10.0a3.rst833 :attr:`pathlib.PurePath.parents` now supports negative indexing. Patch
914 Add slice support to :attr:`pathlib.PurePath.parents`.
D3.6.5rc1.rst602 Improve docstrings for `pathlib.PurePath` subclasses.
D3.9.0a1.rst2427 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.
D3.5.0a1.rst5274 Add missing documentation for PurePath.with_name() and
5275 PurePath.with_suffix().
D3.10.0a1.rst2347 Updated the error message and docs of PurePath.relative_to() to better
D3.8.0a1.rst3549 Fix %-formatting in :meth:`pathlib.PurePath.with_suffix` when formatting an
6663 Improve docstrings for `pathlib.PurePath` subclasses.
/external/python/cpython3/Doc/whatsnew/
D3.10.rst1251 Add slice support to :attr:`PurePath.parents <pathlib.PurePath.parents>`.
1254 Add negative indexing support to :attr:`PurePath.parents
1255 <pathlib.PurePath.parents>`.
D3.9.rst1132 * Division handling of :class:`~pathlib.PurePath` now returns ``NotImplemented``
1134 instance of ``str`` or :class:`~pathlib.PurePath`. This allows creating

12