summaryrefslogtreecommitdiffstats
path: root/Lib/heapq.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2002-08-08 20:19:19 (GMT)
committerTim Peters <tim.peters@gmail.com>2002-08-08 20:19:19 (GMT)
commit469cdad8228df7bc294dc946b8cd4c0b7f810735 (patch)
treed2ce468dd141967a43a9930735226d4183400c2c /Lib/heapq.py
parentd7e8a0dd372a928749674f5f5fd11a96115e0801 (diff)
downloadcpython-469cdad8228df7bc294dc946b8cd4c0b7f810735.zip
cpython-469cdad8228df7bc294dc946b8cd4c0b7f810735.tar.gz
cpython-469cdad8228df7bc294dc946b8cd4c0b7f810735.tar.bz2
Whitespace normalization.
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 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