[Python-checkins] cpython: Fix typo
raymond.hettinger
python-checkins at python.org
Sat Jun 14 09:03:37 CEST 2014
http://hg.python.org/cpython/rev/439ae988be8d
changeset: 91169:439ae988be8d
parent: 91166:273e3d52c0c9
user: Raymond Hettinger <python at rcn.com>
date: Sat Jun 14 00:03:28 2014 -0700
summary:
Fix typo
files:
Lib/heapq.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Lib/heapq.py b/Lib/heapq.py
--- a/Lib/heapq.py
+++ b/Lib/heapq.py
@@ -430,7 +430,7 @@
#
# 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:
# -----------------------------------------------
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list