summaryrefslogtreecommitdiffstats
path: root/Lib/heapq.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2002-10-30 06:15:53 (GMT)
committerRaymond Hettinger <python@rcn.com>2002-10-30 06:15:53 (GMT)
commita853cc6647fdbe5d880e5c4f63d499dd61cee271 (patch)
tree403b9454e346409d6f895aa79f82546feca235eb /Lib/heapq.py
parent39f02f98f56de9cccb72398021e0cd9bf164bc65 (diff)
downloadcpython-a853cc6647fdbe5d880e5c4f63d499dd61cee271.zip
cpython-a853cc6647fdbe5d880e5c4f63d499dd61cee271.tar.gz
cpython-a853cc6647fdbe5d880e5c4f63d499dd61cee271.tar.bz2
Added __all__.
Diffstat (limited to 'Lib/heapq.py')
-rw-r--r--Lib/heapq.py2
1 files changed, 2 insertions, 0 deletions
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)