diff options
Diffstat (limited to 'Lib/heapq.py')
-rw-r--r-- | Lib/heapq.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/heapq.py b/Lib/heapq.py index 4970437..698e6fe 100644 --- a/Lib/heapq.py +++ b/Lib/heapq.py @@ -231,7 +231,7 @@ def _siftup(heap, pos): # Set childpos to index of smaller child. rightpos = childpos + 1 if rightpos < endpos and heap[rightpos] <= heap[childpos]: - childpos = rightpos + childpos = rightpos # Move the smaller child up. heap[pos] = heap[childpos] pos = childpos |