Home
last modified time | relevance | path

Searched refs:_flavour (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython3/Lib/
Dpathlib.py689 return cls._flavour.parse_parts(parts)
717 return drv + root + cls._flavour.join(parts[1:])
719 return cls._flavour.join(parts)
727 drv, root, parts = self._flavour.join_parsed_parts(
747 f = self._flavour
762 return self._flavour.make_uri(self)
770 self._cached_cparts = self._flavour.casefold_parts(self._parts)
776 return self._cparts == other._cparts and self._flavour is other._flavour
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:
[all …]
/external/python/parse_type/tasks/_vendor/
Dpathlib.py495 cf = parent_path._flavour.casefold
606 return cls._flavour.parse_parts(parts)
634 return drv + root + cls._flavour.join(parts[1:])
636 return cls._flavour.join(parts)
644 drv, root, parts = self._flavour.join_parsed_parts(
661 f = self._flavour
678 return self._flavour.make_uri(self)
686 self._cached_cparts = self._flavour.casefold_parts(self._parts)
692 return self._cparts == other._cparts and self._flavour is other._flavour
705 if not isinstance(other, PurePath) or self._flavour is not other._flavour:
[all …]
/external/python/pyfakefs/pyfakefs/
Dfake_pathlib.py55 FakePathlibModule.PureWindowsPath._flavour = _FakeWindowsFlavour(
57 FakePathlibModule.PurePosixPath._flavour = _FakePosixFlavour(filesystem)
507 path = self._flavour.resolve(self, strict=strict)
587 return cls(cls()._flavour.gethomedir(None).
/external/python/cpython3/Lib/test/
Dtest_pathlib.py187 self.flavour = p._flavour