From: Raymond Hettinger Date: Fri, 31 Jul 2009 20:21:08 +0000 (+0000) Subject: Fix typo (already fixed in 2.7). X-Git-Tag: v2.6.3rc1~122 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8299f3280cf34e03285a3a448c60da9a62463d70;p=python Fix typo (already fixed in 2.7). --- diff --git a/Lib/heapq.py b/Lib/heapq.py index c13d6500b6..b36aabda6e 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