Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a853cc6

Browse files
committed
Added __all__.
1 parent 39f02f9 commit a853cc6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Lib/heapq.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,8 @@
126126
From all times, sorting has always been a Great Art! :-)
127127
"""
128128

129+
__all__ = ['heappush', 'heappop', 'heapify', 'heapreplace']
130+
129131
def heappush(heap, item):
130132
"""Push item onto heap, maintaining the heap invariant."""
131133
heap.append(item)

0 commit comments

Comments
 (0)