MCPcopy Index your code
hub / github.com/RustPython/RustPython / _parts_normcase

Method _parts_normcase

Lib/pathlib/__init__.py:223–229  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

221
222 @property
223 def _parts_normcase(self):
224 # Cached parts with normalized case, for comparisons.
225 try:
226 return self._parts_normcase_cached
227 except AttributeError:
228 self._parts_normcase_cached = self._str_normcase.split(self.parser.sep)
229 return self._parts_normcase_cached
230
231 def __lt__(self, other):
232 if not isinstance(other, PurePath) or self.parser is not other.parser:

Callers

nothing calls this directly

Calls 1

splitMethod · 0.45

Tested by

no test coverage detected