[pre-commit.ci lite] apply automatic fixes
This commit is contained in:
parent
1d46308483
commit
76cd774b68
@ -1089,7 +1089,11 @@ def sync_do_slice(
|
||||
end = offset + (slice_number + 1) * items_per_slice
|
||||
tmp = seq[start:end]
|
||||
|
||||
if fill_with is not None and slice_number >= slices_with_extra and slices_with_extra != 0:
|
||||
if (
|
||||
fill_with is not None
|
||||
and slice_number >= slices_with_extra
|
||||
and slices_with_extra != 0
|
||||
):
|
||||
tmp.append(fill_with)
|
||||
|
||||
yield tmp
|
||||
|
||||
Loading…
Reference in New Issue
Block a user