Skip to content

Commit 7056599

Browse files
committed
pep7
1 parent 4211b00 commit 7056599

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

Objects/listobject.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,8 @@ list_repeat(PyListObject *a, Py_ssize_t n)
581581
*dest++ = *src++;
582582
}
583583

584-
_Py_memory_repeat((char *)np->ob_item, sizeof(PyObject *)*output_size, sizeof(PyObject *)*input_size);
584+
_Py_memory_repeat((char *)np->ob_item, sizeof(PyObject *)*output_size,
585+
sizeof(PyObject *)*input_size);
585586
}
586587

587588
Py_SET_SIZE(np, output_size);
@@ -760,7 +761,8 @@ list_inplace_repeat(PyListObject *self, Py_ssize_t n)
760761
for (Py_ssize_t j = 0; j < input_size; j++) {
761762
_Py_RefcntAdd(items[j], n-1);
762763
}
763-
_Py_memory_repeat((char *)items, sizeof(PyObject *)*output_size, sizeof(PyObject *)*input_size);
764+
_Py_memory_repeat((char *)items, sizeof(PyObject *)*output_size,
765+
sizeof(PyObject *)*input_size);
764766

765767
Py_INCREF(self);
766768
return (PyObject *)self;

Objects/tupleobject.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,8 @@ tuplerepeat(PyTupleObject *a, Py_ssize_t n)
535535
*dest++ = *src++;
536536
}
537537

538-
_Py_memory_repeat((char *)np->ob_item, sizeof(PyObject *)*output_size, sizeof(PyObject *)*input_size);
538+
_Py_memory_repeat((char *)np->ob_item, sizeof(PyObject *)*output_size,
539+
sizeof(PyObject *)*input_size);
539540
}
540541
_PyObject_GC_TRACK(np);
541542
return (PyObject *) np;

0 commit comments

Comments
 (0)