]> granicus.if.org Git - python/commitdiff
Fix typo
authorRaymond Hettinger <python@rcn.com>
Sat, 14 Jun 2014 07:03:28 +0000 (00:03 -0700)
committerRaymond Hettinger <python@rcn.com>
Sat, 14 Jun 2014 07:03:28 +0000 (00:03 -0700)
Lib/heapq.py

index 5ab68b010a9a44d6509a3fcf0dadf2617a2b52b8..b20f04de3194395768563a7c86cd737e79eeb27e 100644 (file)
@@ -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:
 # -----------------------------------------------