diff options
| author | Allan Haldane <ealloc@gmail.com> | 2017-11-18 19:39:29 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-11-18 19:39:29 +0100 |
| commit | 365fc9d19b52325bd5618aac1a3fa7b8a6be3b3c (patch) | |
| tree | fba9b1e900840c057cea1f7bdc872c477e0aa60c /numpy/lib/ufunclike.py | |
| parent | 2d140f11857fc1353d6b2dcbb801e693128fd09a (diff) | |
| parent | ac6b1a902b99e340cf7eeeeb7392c91e38db9dd8 (diff) | |
| download | numpy-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/ufunclike.py')
| -rw-r--r-- | numpy/lib/ufunclike.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/lib/ufunclike.py b/numpy/lib/ufunclike.py index ad7c85e59..e0bd95182 100644 --- a/numpy/lib/ufunclike.py +++ b/numpy/lib/ufunclike.py @@ -128,7 +128,7 @@ def isposinf(x, out=None): >>> np.isposinf(np.NINF) array(False, dtype=bool) >>> np.isposinf([-np.inf, 0., np.inf]) - array([False, False, True], dtype=bool) + array([False, False, True]) >>> x = np.array([-np.inf, 0., np.inf]) >>> y = np.array([2, 2, 2]) @@ -189,7 +189,7 @@ def isneginf(x, out=None): >>> np.isneginf(np.PINF) array(False, dtype=bool) >>> np.isneginf([-np.inf, 0., np.inf]) - array([ True, False, False], dtype=bool) + array([ True, False, False]) >>> x = np.array([-np.inf, 0., np.inf]) >>> y = np.array([2, 2, 2]) |
