File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff 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 ;
Original file line number Diff line number Diff 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 ;
You can’t perform that action at this time.
0 commit comments