summaryrefslogtreecommitdiff
path: root/numpy/core/fromnumeric.py
diff options
context:
space:
mode:
authorHomu <homu@barosl.com>2015-06-16 16:56:57 +0900
committerHomu <homu@barosl.com>2015-06-16 16:56:57 +0900
commit8c86a0a879a9f6d8bc9b225e95512fd7f2fca964 (patch)
treeb3d7aa721d7ce2d480a623e5b161c015ebd00c9b /numpy/core/fromnumeric.py
parent7e04882ac753f02cd3fe6d583e8c544cb1eb4ab9 (diff)
parent8749a9a95b0b917dfff3872344204c0040b71cef (diff)
downloadnumpy-8c86a0a879a9f6d8bc9b225e95512fd7f2fca964.tar.gz
Auto merge of #5967 - wimglenn:bugfix/empty_string_array, r=seberg
BUG: fix inconsistency with np.array(['']) being truthy ``` a = np.array([0]) b = np.array([None]) c = np.array(['']) d = np.array([' ']) ``` Why should we have this inconsistency: ``` >>> bool(a) False >>> bool(b) False >>> bool(c) True >>> bool(d) False ```
Diffstat (limited to 'numpy/core/fromnumeric.py')
0 files changed, 0 insertions, 0 deletions