projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6b2667
)
Fix typo
author
Raymond Hettinger
<python@rcn.com>
Tue, 5 Mar 2013 07:11:10 +0000
(
02:11
-0500)
committer
Raymond Hettinger
<python@rcn.com>
Tue, 5 Mar 2013 07:11:10 +0000
(
02:11
-0500)
Lib/heapq.py
patch
|
blob
|
history
diff --git
a/Lib/heapq.py
b/Lib/heapq.py
index 6859821feeea910ab2d9422d8cf453ebbe8748ab..00b429c2d36ea41ac4a234556126a80555a8f038 100644
(file)
--- 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):
- 'M
in
heap variant of _siftup'
+ 'M
ax
heap variant of _siftup'
endpos = len(heap)
startpos = pos
newitem = heap[pos]