8000
We read every piece of feedback, and take your input very seriously.
1 parent f9f9bc4 commit f267ebdCopy full SHA for f267ebd
spec/API_specification/indexing.md
@@ -117,7 +117,7 @@ This specification does not require "clipping" out-of-bounds slice indices. This
117
The following ranges for the start and stop values of a slice must be supported. Let `n` be the axis (dimension) size being sliced. For a slice `i:j:k`, the behavior specified above should be implemented for the following:
118
119
- `i` or `j` omitted (`None`).
120
-- `-n <= i <= max(0, n - 1)`.
+- `-n <= i <= n`.
121
- For `k > 0` or `k` omitted (`None`), `-n <= j <= n`.
122
- For `k < 0`, `-n - 1 <= j <= max(0, n - 1)`.
123