mirror of
https://github.com/python/cpython.git
synced 2024-11-30 05:15:14 +08:00
Fold remaining long lines.
This commit is contained in:
parent
5efaf7eac8
commit
75a20b19ef
@ -1779,12 +1779,16 @@ list_ass_subscript(PyListObject* self, PyObject* item, PyObject* value)
|
||||
|
||||
/* drawing pictures might help
|
||||
understand these for loops */
|
||||
for (cur = start, i = 0; cur < stop; cur += step, i++) {
|
||||
for (cur = start, i = 0;
|
||||
cur < stop;
|
||||
cur += step, i++)
|
||||
{
|
||||
garbage[i] = PyList_GET_ITEM(self, cur);
|
||||
|
||||
for (j = 0; j < step; j++) {
|
||||
PyList_SET_ITEM(self, cur + j - i,
|
||||
PyList_GET_ITEM(self, cur + j + 1));
|
||||
PyList_GET_ITEM(self,
|
||||
cur + j + 1));
|
||||
}
|
||||
}
|
||||
for (cur = start + slicelength*step + 1;
|
||||
|
Loading…
Reference in New Issue
Block a user