summaryrefslogtreecommitdiffstats
path: root/Lib/heapq.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2013-03-05 07:11:10 (GMT)
committerRaymond Hettinger <python@rcn.com>2013-03-05 07:11:10 (GMT)
commit2e8d9a799d9827faa4b9bcd981959422b63e629e (patch)
treeac35037009f97e54c8c3526b06f5a04f3aa3b59f /Lib/heapq.py
parentf6b26676bc97f2f023cbfeabec5583895e9e054f (diff)
downloadcpython-2e8d9a799d9827faa4b9bcd981959422b63e629e.zip
cpython-2e8d9a799d9827faa4b9bcd981959422b63e629e.tar.gz
cpython-2e8d9a799d9827faa4b9bcd981959422b63e629e.tar.bz2
Fix typo
Diffstat (limited to 'Lib/heapq.py')
-rw-r--r--Lib/heapq.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/heapq.py b/Lib/heapq.py
index 6859821..00b429c 100644
--- a/Lib/heapq.py
+++ b/Lib/heapq.py
@@ -320,7 +320,7 @@ def _siftdown_max(heap, startpos, pos):
heap[pos] = newitem
def _siftup_max(heap, pos):
- 'Minheap variant of _siftup'
+ 'Maxheap variant of _siftup'
endpos = len(heap)
startpos = pos
newitem = heap[pos]