File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/doc/ndarray_for_numpy_users Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 111
111
//! When slicing in `ndarray`, the axis is first sliced with `start..end`. Then if
112
112
//! `step` is positive, the first index is the front of the slice; if `step` is
113
113
//! negative, the first index is the back of the slice. This means that the
114
- //! behavior is the same as NumPy except when `step < -1 `. See the docs for the
114
+ //! behavior is different from NumPy when `step < 0 `. See the docs for the
115
115
//! [`s![]` macro][s!] for more details.
116
116
//!
117
117
//! </td>
246
246
//! methods [`.slice_mut()`][.slice_mut()], [`.slice_move()`][.slice_move()], and
247
247
//! [`.slice_collapse()`][.slice_collapse()].
248
248
//!
249
- //! * The behavior of slicing is slightly different from NumPy for slices with
250
- //! `step < -1 `. See the docs for the [`s![]` macro][s!] for more details.
249
+ //! * The behavior of slicing is different from NumPy for slices with
250
+ //! `step < 0 `. See the docs for the [`s![]` macro][s!] for more details.
251
251
//!
252
252
//! NumPy | `ndarray` | Notes
253
253
//! ------|-----------|------
You can’t perform that action at this time.
0 commit comments