You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spec/API_specification/indexing.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -117,7 +117,7 @@ This specification does not require "clipping" out-of-bounds slice indices. This
117
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
118
119
119
-`i` or `j` omitted (`None`).
120
-
-`-n <= i <= max(0, n - 1)`.
120
+
-`-n <= i <= n`.
121
121
- For `k > 0` or `k` omitted (`None`), `-n <= j <= n`.
0 commit comments