From b321e79123595cb24ac9b0b48d36b19f7051d076 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Sat, 14 Jun 2014 00:03:28 -0700 Subject: [PATCH] Fix typo --- Lib/heapq.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/heapq.py b/Lib/heapq.py index 5ab68b010a..b20f04de31 100644 --- a/Lib/heapq.py +++ b/Lib/heapq.py @@ -430,7 +430,7 @@ def merge(*iterables, key=None, reverse=False): # # Combining and simplifying for a rough estimate gives: # -# comparisons = n + k * (log(k, 2) * log(n/k)) + log(k, 2) + log(n/k)) +# comparisons = n + k * (log(k, 2) * log(n/k) + log(k, 2) + log(n/k)) # # Computing the number of comparisons for step 3: # ----------------------------------------------- -- 2.50.1