MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / __hash__

Method __hash__

tools/python-3.11.9-amd64/Lib/inspect.py:3047–3050  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3045 return params, kwo_params, self.return_annotation
3046
3047 def __hash__(self):
3048 params, kwo_params, return_annotation = self._hash_basis()
3049 kwo_params = frozenset(kwo_params.values())
3050 return hash((params, kwo_params, return_annotation))
3051
3052 def __eq__(self, other):
3053 if self is other:

Callers

nothing calls this directly

Calls 3

_hash_basisMethod · 0.95
hashClass · 0.50
valuesMethod · 0.45

Tested by

no test coverage detected