summaryrefslogtreecommitdiff
path: root/numpy/doc/indexing.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/doc/indexing.py')
-rw-r--r--numpy/doc/indexing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/doc/indexing.py b/numpy/doc/indexing.py
index b286a904d..5f5033117 100644
--- a/numpy/doc/indexing.py
+++ b/numpy/doc/indexing.py
@@ -240,7 +240,7 @@ The result will be multidimensional if y has more dimensions than b.
For example: ::
>>> b[:,5] # use a 1-D boolean whose first dim agrees with the first dim of y
- array([False, False, False, True, True], dtype=bool)
+ array([False, False, False, True, True])
>>> y[b[:,5]]
array([[21, 22, 23, 24, 25, 26, 27],
[28, 29, 30, 31, 32, 33, 34]])