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

Method __eq__

tools/python-3.11.9-amd64/Lib/_pydecimal.py:891–897  ·  view source on GitHub ↗
(self, other, context=None)

Source from the content-addressed store, hash-verified

889 # that specified by IEEE 754.
890
891 def __eq__(self, other, context=None):
892 self, other = _convert_for_comparison(self, other, equality_op=True)
893 if other is NotImplemented:
894 return other
895 if self._check_nans(other, context):
896 return False
897 return self._cmp(other) == 0
898
899 def __lt__(self, other, context=None):
900 self, other = _convert_for_comparison(self, other)

Callers

nothing calls this directly

Calls 3

_check_nansMethod · 0.95
_cmpMethod · 0.95
_convert_for_comparisonFunction · 0.85

Tested by

no test coverage detected