diff options
author | Julian Taylor <jtaylor.debian@googlemail.com> | 2017-04-21 13:43:39 +0200 |
---|---|---|
committer | Julian Taylor <jtaylor.debian@googlemail.com> | 2017-04-23 02:40:38 +0200 |
commit | 6373dc06298c0c715520b6a2df00b534f1220dca (patch) | |
tree | ce8e23d1cd50370a2d12d5d1bc0de75c4e1e8955 /numpy/lib/nanfunctions.py | |
parent | 1a9f43f5f7a8335b00a0daf423105dea50d5c911 (diff) | |
download | numpy-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