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

Method __eq__

tools/python-3.11.9-amd64/Lib/inspect.py:3052–3057  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

3050 return hash((params, kwo_params, return_annotation))
3051
3052 def __eq__(self, other):
3053 if self is other:
3054 return True
3055 if not isinstance(other, Signature):
3056 return NotImplemented
3057 return self._hash_basis() == other._hash_basis()
3058
3059 def _bind(self, args, kwargs, *, partial=False):
3060 """Private method. Don't use directly."""

Callers

nothing calls this directly

Calls 1

_hash_basisMethod · 0.95

Tested by

no test coverage detected