Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Python
/ __gt__
Method
__gt__
data_structures/heap/heap.py:14–15 ·
view source on GitHub ↗
(self: T, other: T)
Source
from the content-addressed store, hash-verified
12
13
@abstractmethod
14
def
__gt__(self: T, other: T) -> bool:
15
pass
16
17
@abstractmethod
18
def
__eq__(self: T, other: object) -> bool:
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected