diff options
author | Raymond Hettinger <python@rcn.com> | 2004-06-13 05:26:33 +0000 |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2004-06-13 05:26:33 +0000 |
commit | 2e3dfaf7070900c459d5879530dbdb3680f7fb9d (patch) | |
tree | c6d22113751862d95c53cd2a19fb42aa8d9f5b2c /Lib/heapq.py | |
parent | c929766361b4e0ea5bf5dc625e326fb954956f0b (diff) | |
download | cpython-git-2e3dfaf7070900c459d5879530dbdb3680f7fb9d.tar.gz |
Install C version of heapq.nsmallest().
Diffstat (limited to 'Lib/heapq.py')
-rw-r--r-- | Lib/heapq.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/heapq.py b/Lib/heapq.py index 65f4155042..09f996aff8 100644 --- a/Lib/heapq.py +++ b/Lib/heapq.py @@ -300,7 +300,7 @@ def _siftup(heap, pos): # If available, use C implementation try: - from _heapq import heappush, heappop, heapify, heapreplace + from _heapq import heappush, heappop, heapify, heapreplace, nlargest, nsmallest except ImportError: pass |