@@ -179,7 +179,7 @@ cdef class BlockPlacement:
179
179
cdef BlockPlacement iadd(self , other):
180
180
cdef:
181
181
slice s = self ._ensure_has_slice()
182
- Py_ssize_t other_int, start, stop, step, l
182
+ Py_ssize_t other_int, start, stop, step
183
183
184
184
if is_integer_object(other) and s is not None :
185
185
other_int = < Py_ssize_t> other
@@ -188,7 +188,7 @@ cdef class BlockPlacement:
188
188
# BlockPlacement is treated as immutable
189
189
return self
190
190
191
- start, stop, step, l = slice_get_indices_ex(s)
191
+ start, stop, step, _ = slice_get_indices_ex(s)
192
192
start += other_int
193
193
stop += other_int
194
194
@@ -226,14 +226,14 @@ cdef class BlockPlacement:
226
226
"""
227
227
cdef:
228
228
slice nv, s = self ._ensure_has_slice()
229
- Py_ssize_t other_int, start, stop, step, l
229
+ Py_ssize_t other_int, start, stop, step
230
230
ndarray[intp_t, ndim= 1 ] newarr
231
231
232
232
if s is not None :
233
233
# see if we are either all-above or all-below, each of which
234
234
# have fastpaths available.
235
235
236
- start, stop, step, l = slice_get_indices_ex(s)
236
+ start, stop, step, _ = slice_get_indices_ex(s)
237
237
238
238
if start < loc and stop <= loc:
239
239
# We are entirely below, nothing to increment
0 commit comments