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

Method __gt__

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

Source from the content-addressed store, hash-verified

859 return self._cmp(other) <= 0
860
861 def __gt__(self, other, context=None):
862 self, other = _convert_for_comparison(self, other)
863 if other is NotImplemented:
864 return other
865 ans = self._compare_check_nans(other, context)
866 if ans:
867 return False
868 return self._cmp(other) > 0
869
870 def __ge__(self, other, context=None):
871 self, other = _convert_for_comparison(self, other)

Callers 1

Calls 3

_compare_check_nansMethod · 0.95
_cmpMethod · 0.95
_convert_for_comparisonFunction · 0.85

Tested by 1