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

Method __le__

Lib/fractions.py:1051–1053  ·  view source on GitHub ↗

a <= b

(a, b)

Source from the content-addressed store, hash-verified

1049 return a._richcmp(b, operator.gt)
1050
1051 def __le__(a, b):
1052 """a <= b"""
1053 return a._richcmp(b, operator.le)
1054
1055 def __ge__(a, b):
1056 """a >= b"""

Callers

nothing calls this directly

Calls 1

_richcmpMethod · 0.45

Tested by

no test coverage detected