summaryrefslogtreecommitdiff
path: root/numpy/core/defchararray.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/core/defchararray.py
parentbd80585cdae1d43fabb30ae0e184c2e40deb11e6 (diff)
downloadnumpy-ac6b1a902b99e340cf7eeeeb7392c91e38db9dd8.tar.gz
ENH: don't show boolean dtype, as it is implied
Diffstat (limited to 'numpy/core/defchararray.py')
-rw-r--r--numpy/core/defchararray.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/defchararray.py b/numpy/core/defchararray.py
index e5f685369..6d0a0add5 100644
--- a/numpy/core/defchararray.py
+++ b/numpy/core/defchararray.py
@@ -575,9 +575,9 @@ def endswith(a, suffix, start=0, end=None):
array(['foo', 'bar'],
dtype='|S3')
>>> np.char.endswith(s, 'ar')
- array([False, True], dtype=bool)
+ array([False, True])
>>> np.char.endswith(s, 'a', start=1, end=2)
- array([False, True], dtype=bool)
+ array([False, True])
"""
return _vec_string(