`str` for `stride` is confusing in the python context. Maybe just `stride`?