mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
Fix typo
This commit is contained in:
parent
f6b26676bc
commit
2e8d9a799d
1 changed files with 1 additions and 1 deletions
|
@ -320,7 +320,7 @@ def _siftdown_max(heap, startpos, pos):
|
||||||
heap[pos] = newitem
|
heap[pos] = newitem
|
||||||
|
|
||||||
def _siftup_max(heap, pos):
|
def _siftup_max(heap, pos):
|
||||||
'Minheap variant of _siftup'
|
'Maxheap variant of _siftup'
|
||||||
endpos = len(heap)
|
endpos = len(heap)
|
||||||
startpos = pos
|
startpos = pos
|
||||||
newitem = heap[pos]
|
newitem = heap[pos]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue