mirror of
https://github.com/python/cpython.git
synced 2025-08-29 13:15:11 +00:00
Fix a bunch of typos in documentation, docstrings and comments.
(From SF patch #810751)
This commit is contained in:
parent
4b17e3993b
commit
f0dfc7ac5c
43 changed files with 47 additions and 47 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue