commit | a853cc6647fdbe5d880e5c4f63d499dd61cee271 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Wed Oct 30 06:15:53 2002 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Wed Oct 30 06:15:53 2002 +0000 |
tree | 403b9454e346409d6f895aa79f82546feca235eb | |
parent | 39f02f98f56de9cccb72398021e0cd9bf164bc65 [diff] [blame] |
Added __all__.
diff --git a/Lib/heapq.py b/Lib/heapq.py index 15b728a..fd7eea5 100644 --- a/Lib/heapq.py +++ b/Lib/heapq.py
@@ -126,6 +126,8 @@ 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)