summaryrefslogtreecommitdiff
path: root/doc/source/reference/arrays.indexing.rst
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2018-12-14 07:45:01 +0100
committerGitHub <noreply@github.com>2018-12-14 07:45:01 +0100
commit2f231b3231b5c9ae5d95b23a27d141091706df0c (patch)
tree946a903b1f1451352fa17cb03140bc48b48b677b /doc/source/reference/arrays.indexing.rst
parent8814211079b36d4130786cce42d8dce3cfb2ef99 (diff)
parent8eefc53ac9cfcd4ccc5b70ccfc900b06b389dce3 (diff)
downloadnumpy-2f231b3231b5c9ae5d95b23a27d141091706df0c.tar.gz
Merge pull request #12534 from jturner314/fix-ellipsis-docs
DOC: Fix desc. of Ellipsis behavior in reference
Diffstat (limited to 'doc/source/reference/arrays.indexing.rst')
-rw-r--r--doc/source/reference/arrays.indexing.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/source/reference/arrays.indexing.rst b/doc/source/reference/arrays.indexing.rst
index 62d36e28c..5f67a788a 100644
--- a/doc/source/reference/arrays.indexing.rst
+++ b/doc/source/reference/arrays.indexing.rst
@@ -111,9 +111,10 @@ concepts to remember include:
[5],
[6]]])
-- :const:`Ellipsis` expand to the number of ``:`` objects needed to
- make a selection tuple of the same length as ``x.ndim``. There may
- only be a single ellipsis present.
+- :const:`Ellipsis` expands to the number of ``:`` objects needed for the
+ selection tuple to index all dimensions. In most cases, this means that
+ length of the expanded selection tuple is ``x.ndim``. There may only be a
+ single ellipsis present.
.. admonition:: Example