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

Method __lt__

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

Source from the content-addressed store, hash-verified

897 return self._cmp(other) == 0
898
899 def __lt__(self, other, context=None):
900 self, other = _convert_for_comparison(self, other)
901 if other is NotImplemented:
902 return other
903 ans = self._compare_check_nans(other, context)
904 if ans:
905 return False
906 return self._cmp(other) < 0
907
908 def __le__(self, other, context=None):
909 self, other = _convert_for_comparison(self, other)

Callers

nothing calls this directly

Calls 3

_compare_check_nansMethod · 0.95
_cmpMethod · 0.95
_convert_for_comparisonFunction · 0.85

Tested by

no test coverage detected