mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
Issue #17047: remove doubled words found in 2.7 to 3.4 Modules/*,
as reported by Serhiy Storchaka and Matthew Barnett.
This commit is contained in:
parent
65e69b3718
commit
0158af38b7
10 changed files with 19 additions and 19 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue