diff options
author | Guido van Rossum <guido@python.org> | 2002-06-11 12:22:28 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2002-06-11 12:22:28 (GMT) |
commit | 75a20b19ef6925a5e6df55f4a738961127c25659 (patch) | |
tree | 35bafaa928597e7ea0b376701791e04002401b73 /Objects | |
parent | 5efaf7eac8c1dbbf82a96dc5d9b87fddd5d17b58 (diff) | |
download | cpython-75a20b19ef6925a5e6df55f4a738961127c25659.zip cpython-75a20b19ef6925a5e6df55f4a738961127c25659.tar.gz cpython-75a20b19ef6925a5e6df55f4a738961127c25659.tar.bz2 |
Fold remaining long lines.
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/listobject.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Objects/listobject.c b/Objects/listobject.c index 3ddf032..063ebfb 100644 --- a/Objects/listobject.c +++ b/Objects/listobject.c @@ -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; |