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

Method __gt__

Lib/test/test_fractions.py:43–43  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

41 def __lt__(self, other): return self._richcmp(other, operator.lt)
42 def __ge__(self, other): return self._richcmp(other, operator.ge)
43 def __gt__(self, other): return self._richcmp(other, operator.gt)
44
45 # shouldn't be calling __float__ at all when doing comparisons
46 def __float__(self):

Callers

nothing calls this directly

Calls 1

_richcmpMethod · 0.95

Tested by

no test coverage detected