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

Method __hash__

Lib/inspect.py:3083–3086  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3081 return params, kwo_params, self.return_annotation
3082
3083 def __hash__(self):
3084 params, kwo_params, return_annotation = self._hash_basis()
3085 kwo_params = frozenset(kwo_params.values())
3086 return hash((params, kwo_params, return_annotation))
3087
3088 def __eq__(self, other):
3089 if self is other:

Callers

nothing calls this directly

Calls 2

_hash_basisMethod · 0.95
valuesMethod · 0.45

Tested by

no test coverage detected