Kaydet (Commit) a853cc66 authored tarafından Raymond Hettinger's avatar Raymond Hettinger

Added __all__.

üst 39f02f98
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment