MCPcopy Index your code
hub / github.com/python/cpython / _parts_normcase

Method _parts_normcase

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

Source from the content-addressed store, hash-verified

220
221 @property
222 def _parts_normcase(self):
223 # Cached parts with normalized case, for comparisons.
224 try:
225 return self._parts_normcase_cached
226 except AttributeError:
227 self._parts_normcase_cached = self._str_normcase.split(self.parser.sep)
228 return self._parts_normcase_cached
229
230 def __lt__(self, other):
231 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