summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/heapq.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/heapq.py b/Lib/heapq.py
index 5ab68b0..b20f04d 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:
# -----------------------------------------------