summaryrefslogtreecommitdiff
path: root/numpy/lib/function_base.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/lib/function_base.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/lib/function_base.py')
-rw-r--r--numpy/lib/function_base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/function_base.py b/numpy/lib/function_base.py
index 498853d32..c9a23350d 100644
--- a/numpy/lib/function_base.py
+++ b/numpy/lib/function_base.py
@@ -2333,7 +2333,7 @@ def extract(condition, arr):
>>> condition
array([[ True, False, False, True],
[False, False, True, False],
- [False, True, False, False]], dtype=bool)
+ [False, True, False, False]])
>>> np.extract(condition, arr)
array([0, 3, 6, 9])