Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ __lt__
Method
__lt__
extra_tests/snippets/builtin_list.py:252–253 ·
view source on GitHub ↗
(self, other)
Source
from the content-addressed store, hash-verified
250
self.x = x
251
252
def
__lt__(self, other):
253
return
self.x < other.x
254
255
256
lst.sort(key=C)
Callers
6
builtin_bytearray.py
File · 0.45
builtin_object.py
File · 0.45
builtin_range.py
File · 0.45
builtin_bytes.py
File · 0.45
builtin_none.py
File · 0.45
builtin_int.py
File · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected