summaryrefslogtreecommitdiff
path: root/numpy/doc/structured_arrays.py
diff options
context:
space:
mode:
authorAllan Haldane <ealloc@gmail.com>2017-11-18 19:39:29 +0100
committerGitHub <noreply@github.com>2017-11-18 19:39:29 +0100
commit365fc9d19b52325bd5618aac1a3fa7b8a6be3b3c (patch)
treefba9b1e900840c057cea1f7bdc872c477e0aa60c /numpy/doc/structured_arrays.py
parent2d140f11857fc1353d6b2dcbb801e693128fd09a (diff)
parentac6b1a902b99e340cf7eeeeb7392c91e38db9dd8 (diff)
downloadnumpy-365fc9d19b52325bd5618aac1a3fa7b8a6be3b3c.tar.gz
Merge pull request #10021 from eric-wieser/no-dtype-bool-repr
ENH: Don't show the boolean dtype in array_repr
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