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: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8299f3280cf34e03285a3a448c60da9a62463d70;p=thirdparty%2FPython%2Fcpython.git Fix typo (already fixed in 2.7). --- diff --git a/Lib/heapq.py b/Lib/heapq.py index c13d6500b6e4..b36aabda6e43 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