From e8a2076e149703ea043db5a9dfaaf8d9b7f37c3e Mon Sep 17 00:00:00 2001 From: Andre Delfino Date: Sat, 26 Sep 2020 21:47:25 -0300 Subject: Revert "Fix all Python Cookbook links (#22205)" (GH-22424) This commit reverts commit ac0333e1e117b7f61ed7ef1dbcdb6e515ada603b as the original links are working again and they provide extended features such as comments and alternative versions. --- Lib/heapq.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/heapq.py') diff --git a/Lib/heapq.py b/Lib/heapq.py index 5895562db4..fabefd87f8 100644 --- a/Lib/heapq.py +++ b/Lib/heapq.py @@ -456,7 +456,7 @@ def merge(*iterables, key=None, reverse=False): # 2) Made multiple passes over the data. # 3) Made more comparisons in common cases (small k, large n, semi-random input). # See the more detailed comparison of approach at: -# https://github.com/ActiveState/code/tree/master/recipes/Python/577573_Compare_algorithms/recipe-577573.py +# http://code.activestate.com/recipes/577573-compare-algorithms-for-heapqsmallest def nsmallest(n, iterable, key=None): """Find the n smallest elements in a dataset. -- cgit v1.2.1