MCPcopy Index your code
hub / github.com/RustPython/RustPython / __ge__

Method __ge__

Lib/_pydecimal.py:867–874  ·  view source on GitHub ↗
(self, other, context=None)

Source from the content-addressed store, hash-verified

865 return self._cmp(other) > 0
866
867 def __ge__(self, other, context=None):
868 self, other = _convert_for_comparison(self, other)
869 if other is NotImplemented:
870 return other
871 ans = self._compare_check_nans(other, context)
872 if ans:
873 return False
874 return self._cmp(other) >= 0
875
876 def compare(self, other, context=None):
877 """Compare self to other. Return a decimal value:

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