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

Method __eq__

Lib/inspect.py:3088–3093  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

3086 return hash((params, kwo_params, return_annotation))
3087
3088 def __eq__(self, other):
3089 if self is other:
3090 return True
3091 if not isinstance(other, Signature):
3092 return NotImplemented
3093 return self._hash_basis() == other._hash_basis()
3094
3095 def _bind(self, args, kwargs, *, partial=False):
3096 """Private method. Don't use directly."""

Callers

nothing calls this directly

Calls 1

_hash_basisMethod · 0.95

Tested by

no test coverage detected