diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2013-03-11 21:42:46 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2013-03-11 21:42:46 (GMT) |
commit | 0158af38b73b76516f18b1774e1c590f459cb188 (patch) | |
tree | 7a74dea12c9b01169cfe65820a2b7662df2ee2b0 /Modules/_heapqmodule.c | |
parent | 65e69b37183eb0172b9fbbf28388ff0b0d05b792 (diff) | |
download | cpython-0158af38b73b76516f18b1774e1c590f459cb188.zip cpython-0158af38b73b76516f18b1774e1c590f459cb188.tar.gz cpython-0158af38b73b76516f18b1774e1c590f459cb188.tar.bz2 |
Issue #17047: remove doubled words found in 2.7 to 3.4 Modules/*,
as reported by Serhiy Storchaka and Matthew Barnett.
Diffstat (limited to 'Modules/_heapqmodule.c')
-rw-r--r-- | Modules/_heapqmodule.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_heapqmodule.c b/Modules/_heapqmodule.c index 361cf55..bee61dd 100644 --- a/Modules/_heapqmodule.c +++ b/Modules/_heapqmodule.c @@ -116,7 +116,7 @@ _siftup(PyListObject *heap, Py_ssize_t pos) } } - /* The leaf at pos is empty now. Put newitem there, and and bubble + /* The leaf at pos is empty now. Put newitem there, and bubble it up to its final resting place (by sifting its parents down). */ Py_DECREF(PyList_GET_ITEM(heap, pos)); PyList_SET_ITEM(heap, pos, newitem); @@ -456,7 +456,7 @@ _siftupmax(PyListObject *heap, Py_ssize_t pos) childpos = 2*pos + 1; } - /* The leaf at pos is empty now. Put newitem there, and and bubble + /* The leaf at pos is empty now. Put newitem there, and bubble it up to its final resting place (by sifting its parents down). */ Py_DECREF(PyList_GET_ITEM(heap, pos)); PyList_SET_ITEM(heap, pos, newitem); |