Skip to content

Commit 2f231b3

Browse files
authored
Merge pull request numpy#12534 from jturner314/fix-ellipsis-docs
DOC: Fix desc. of Ellipsis behavior in reference
2 parents 8814211 + 8eefc53 commit 2f231b3

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

doc/source/reference/arrays.indexing.rst

+4-3
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,10 @@ concepts to remember include:
111111
[5],
112112
[6]]])
113113

114-
- :const:`Ellipsis` expand to the number of ``:`` objects needed to
115-
make a selection tuple of the same length as ``x.ndim``. There may
116-
only be a single ellipsis present.
114+
- :const:`Ellipsis` expands to the number of ``:`` objects needed for the
115+
selection tuple to index all dimensions. In most cases, this means that
116+
length of the expanded selection tuple is ``x.ndim``. There may only be a
117+
single ellipsis present.
117118

118119
.. admonition:: Example
119120

0 commit comments

Comments
 (0)