summaryrefslogtreecommitdiff
path: root/Lib/heapq.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2004-06-13 05:26:33 +0000
committerRaymond Hettinger <python@rcn.com>2004-06-13 05:26:33 +0000
commit2e3dfaf7070900c459d5879530dbdb3680f7fb9d (patch)
treec6d22113751862d95c53cd2a19fb42aa8d9f5b2c /Lib/heapq.py
parentc929766361b4e0ea5bf5dc625e326fb954956f0b (diff)
downloadcpython-git-2e3dfaf7070900c459d5879530dbdb3680f7fb9d.tar.gz
Install C version of heapq.nsmallest().
Diffstat (limited to 'Lib/heapq.py')
-rw-r--r--Lib/heapq.py2
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