From a853cc6647fdbe5d880e5c4f63d499dd61cee271 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Wed, 30 Oct 2002 06:15:53 +0000 Subject: Added __all__. --- Lib/heapq.py | 2 ++ 1 file changed, 2 insertions(+) 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 @@ 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) -- cgit v0.12