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

Method __gt__

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

Source from the content-addressed store, hash-verified

856 return self._cmp(other) <= 0
857
858 def __gt__(self, other, context=None):
859 self, other = _convert_for_comparison(self, other)
860 if other is NotImplemented:
861 return other
862 ans = self._compare_check_nans(other, context)
863 if ans:
864 return False
865 return self._cmp(other) > 0
866
867 def __ge__(self, other, context=None):
868 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