From 8299f3280cf34e03285a3a448c60da9a62463d70 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Fri, 31 Jul 2009 20:21:08 +0000 Subject: Fix typo (already fixed in 2.7). --- Lib/heapq.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/heapq.py b/Lib/heapq.py index c13d650..b36aabd 100644 --- a/Lib/heapq.py +++ b/Lib/heapq.py @@ -195,7 +195,7 @@ def nlargest(n, iterable): heapify(result) _heappushpop = heappushpop for elem in it: - heappushpop(result, elem) + _heappushpop(result, elem) result.sort(reverse=True) return result -- cgit v0.12