Skip to content

Commit 1273319

Browse files
authored
Update skew_heap.py
1 parent 84ec049 commit 1273319

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

data_structures/heap/skew_heap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def __iter__(self) -> Iterator[T]:
151151
[1, 3, 3, 7]
152152
"""
153153
# Create a temporary heap for iteration
154-
temp_heap = SkewHeap()
154+
temp_heap: SkewHeap[T] = SkewHeap()
155155
result: list[T] = []
156156

157157
# Pop all elements from the heap

0 commit comments

Comments
 (0)