MCPcopy Create free account
hub / github.com/TheAlgorithms/Python / __lt__

Method __lt__

sorts/insertion_sort.py:21–21  ·  view source on GitHub ↗
(self, other: Any, /)

Source from the content-addressed store, hash-verified

19
20class Comparable(Protocol):
21 def __lt__(self, other: Any, /) -> bool: ...
22
23
24T = TypeVar("T", bound=Comparable)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected