Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ __gt__
Method
__gt__
extra_tests/snippets/builtin_list.py:266–267 ·
view source on GitHub ↗
(self, other)
Source
from the content-addressed store, hash-verified
264
self.x = x
265
266
def
__gt__(self, other):
267
return
self.x > other.x
268
269
270
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