summaryrefslogtreecommitdiff
path: root/Lib/heapq.py
diff options
context:
space:
mode:
authorWalter Dörwald <walter@livinglogic.de>2003-10-20 14:01:56 +0000
committerWalter Dörwald <walter@livinglogic.de>2003-10-20 14:01:56 +0000
commit5debc0848341c819d5c522cddd55e611d2ecd0ab (patch)
tree2c36d29e77797f26b3c36a438d7b2389ceb78dec /Lib/heapq.py
parent1af6c750a3d656ceccc2a20905b5b961304f0e69 (diff)
downloadcpython-5debc0848341c819d5c522cddd55e611d2ecd0ab.tar.gz
Fix a bunch of typos in documentation, docstrings and comments.
(From SF patch #810751)
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 fee7a2435f..2c30b12f22 100644
--- a/Lib/heapq.py
+++ b/Lib/heapq.py
@@ -238,7 +238,7 @@ def _siftup(heap, pos):
heap[pos] = heap[childpos]
pos = childpos
childpos = 2*pos + 1
- # The leaf at pos is empty now. Put newitem there, and and bubble it up
+ # The leaf at pos is empty now. Put newitem there, and bubble it up
# to its final resting place (by sifting its parents down).
heap[pos] = newitem
_siftdown(heap, startpos, pos)