From: Raymond Hettinger <python@rcn.com> Date: Wed, 30 Oct 2002 06:15:53 +0000 (+0000) Subject: Added __all__. X-Git-Tag: v2.3c1~3650 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a853cc6647fdbe5d880e5c4f63d499dd61cee271;p=python Added __all__. --- diff --git a/Lib/heapq.py b/Lib/heapq.py index 15b728a465..fd7eea5307 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)