Added __all__.

This commit is contained in:
Raymond Hettinger 2002-10-30 06:15:53 +00:00
parent 39f02f98f5
commit a853cc6647

View file

@ -126,6 +126,8 @@ Believe me, real good tape sorts were quite spectacular to watch!
From all times, sorting has always been a Great Art! :-)
"""
__all__ = ['heappush', 'heappop', 'heapify', 'heapreplace']
def heappush(heap, item):
"""Push item onto heap, maintaining the heap invariant."""
heap.append(item)