This is hard to read. FYI line continuations are usually preferred to be after the operator rather than before. I think the following would be more readable:

```python
strides = (a.mask.strides[:axis] +
           (step * a.mask.strides[axis], a.mask.strides[axis]) +
           a.mask.strides[axis+1:])
```