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

Method __ge__

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

Source from the content-addressed store, hash-verified

868 return self._cmp(other) > 0
869
870 def __ge__(self, other, context=None):
871 self, other = _convert_for_comparison(self, other)
872 if other is NotImplemented:
873 return other
874 ans = self._compare_check_nans(other, context)
875 if ans:
876 return False
877 return self._cmp(other) >= 0
878
879 def compare(self, other, context=None):
880 """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