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

Method __le__

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

Source from the content-addressed store, hash-verified

38
39 def __eq__(self, other): return self._richcmp(other, operator.eq)
40 def __le__(self, other): return self._richcmp(other, operator.le)
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)

Callers

nothing calls this directly

Calls 1

_richcmpMethod · 0.95

Tested by

no test coverage detected