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