summaryrefslogtreecommitdiff
path: root/numpy/lib/nanfunctions.py
diff options
context:
space:
mode:
authorJulian Taylor <jtaylor.debian@googlemail.com>2017-04-21 13:43:39 +0200
committerJulian Taylor <jtaylor.debian@googlemail.com>2017-04-23 02:40:38 +0200
commit6373dc06298c0c715520b6a2df00b534f1220dca (patch)
treece8e23d1cd50370a2d12d5d1bc0de75c4e1e8955 /numpy/lib/nanfunctions.py
parent1a9f43f5f7a8335b00a0daf423105dea50d5c911 (diff)
downloadnumpy-6373dc06298c0c715520b6a2df00b534f1220dca.tar.gz
BUG: do not change size 0 description when viewing data
If the array being viewed is a zero sized array, e.g. 'S0' from structured types, do not change the description to itemsize 1 as this would expose uninitialized data, e.g. in TestStructured.test_zero_width_string
Diffstat (limited to 'numpy/lib/nanfunctions.py')
0 files changed, 0 insertions, 0 deletions