Skip to content

Commit 6a1bdc5

Browse files
authored
Remove unused total_ordering import
Removed unused import of total_ordering from functools.
1 parent c33c13c commit 6a1bdc5

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎data_structures/heap/heap.py‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
from abc import abstractmethod
44
from collections.abc import Iterable
5-
from functools import total_ordering
65
from typing import Protocol, TypeVar
76

87

@@ -15,7 +14,6 @@ def __gt__(self: T, other: T, /) -> bool:
1514
T = TypeVar("T", bound=Comparable)
1615

1716

18-
@total_ordering
1917
class Heap[T: Comparable]:
2018
"""A Max Heap Implementation
2119

0 commit comments

Comments
 (0)