Fix a bunch of typos in documentation, docstrings and comments.

(From SF patch #810751)
This commit is contained in:
Walter Dörwald 2003-10-20 14:01:56 +00:00
parent 4b17e3993b
commit f0dfc7ac5c
43 changed files with 47 additions and 47 deletions

View file

@ -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)