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

Method __hash__

Lib/importlib/metadata/_text.py:79–80  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

77 return self.lower() != other.lower()
78
79 def __hash__(self):
80 return hash(self.lower())
81
82 def __contains__(self, other):
83 return super().lower().__contains__(other.lower())

Callers

nothing calls this directly

Calls 1

lowerMethod · 0.95

Tested by

no test coverage detected