Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ __lt__
Method
__lt__
Lib/fractions.py:1043–1045 ·
view source on GitHub ↗
a < b
(a, b)
Source
from the content-addressed store, hash-verified
1041
return
NotImplemented
1042
1043
def
__lt__(a, b):
1044
""
"a < b"
""
1045
return
a._richcmp(b, operator.lt)
1046
1047
def
__gt__(a, b):
1048
""
"a > b"
""
Callers
nothing calls this directly
Calls
1
_richcmp
Method · 0.45
Tested by
no test coverage detected