Code cleanup: style

This commit is contained in:
2014-02-22 11:14:15 +11:00
parent 1a79abdad2
commit b7fa08f88a
16 changed files with 21 additions and 14 deletions

View File

@@ -420,7 +420,7 @@ static PyObject *Buffer_slice(Buffer *self, int begin, int end)
if (begin < 0) begin = 0;
if (end > self->dimensions[0]) end = self->dimensions[0];
if (begin > end) begin = end;
list = PyList_New(end - begin);
for (count = begin; count < end; count++) {