mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Added __all__.
This commit is contained in:
parent
39f02f98f5
commit
a853cc6647
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue