MCPcopy 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
256lst.sort(key=C)

Callers 6

builtin_object.pyFile · 0.45
builtin_range.pyFile · 0.45
builtin_bytes.pyFile · 0.45
builtin_none.pyFile · 0.45
builtin_int.pyFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected