summaryrefslogtreecommitdiff
path: root/numpy/doc/structured_arrays.py
diff options
context:
space:
mode:
authorEric Wieser <wieser.eric@gmail.com>2017-11-13 23:45:45 -0800
committerEric Wieser <wieser.eric@gmail.com>2017-11-13 23:45:45 -0800
commitac6b1a902b99e340cf7eeeeb7392c91e38db9dd8 (patch)
tree589c9f85e52a75a16ed949c14bfa39777e651fc4 /numpy/doc/structured_arrays.py
parentbd80585cdae1d43fabb30ae0e184c2e40deb11e6 (diff)
downloadnumpy-ac6b1a902b99e340cf7eeeeb7392c91e38db9dd8.tar.gz
ENH: don't show boolean dtype, as it is implied
Diffstat (limited to 'numpy/doc/structured_arrays.py')
-rw-r--r--numpy/doc/structured_arrays.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/doc/structured_arrays.py b/numpy/doc/structured_arrays.py
index 65558a5a0..02581d01b 100644
--- a/numpy/doc/structured_arrays.py
+++ b/numpy/doc/structured_arrays.py
@@ -480,7 +480,7 @@ the same order::
>>> a = np.zeros(2, dtype=[('a', 'i4'), ('b', 'i4')])
>>> b = np.ones(2, dtype=[('a', 'i4'), ('b', 'i4')])
>>> a == b
- array([False, False], dtype=bool)
+ array([False, False])
Currently, if the dtypes of two void structured arrays are not equivalent the
comparison fails, returning the scalar value ``False``. This behavior is