Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ __lt__
Method
__lt__
Lib/test/test_sort.py:335–337 ·
view source on GitHub ↗
(self, other)
Source
from the content-addressed store, hash-verified
333
334
class
WackyComparator(int):
335
def
__lt__(self, other):
336
elem.__class__ = WackyList2
337
return
int.__lt__(self, other)
338
339
class
WackyList1(list):
340
pass
Callers
nothing calls this directly
Calls
1
__lt__
Method · 0.45
Tested by
no test coverage detected