diff options
author | Kexuan Sun <me@kianasun.com> | 2019-07-25 11:26:06 -0700 |
---|---|---|
committer | Sebastian Berg <sebastian@sipsolutions.net> | 2019-07-25 11:26:06 -0700 |
commit | feee90d9e14490daa2439eb37c8511555d073f92 (patch) | |
tree | ef2208871d0a6023ba6603fb4c2c57a023ca1307 /numpy/core/fromnumeric.py | |
parent | 9259a7ff720ebebdd90dbe5469f08ed386de5f1d (diff) | |
download | numpy-feee90d9e14490daa2439eb37c8511555d073f92.tar.gz |
MAINT: Change the type of error raised in set_printoptions (gh-13899)
Previously an incorrect ``threshold`` raised ``ValueError``; it now raises ``TypeError``
for non-numeric types and ``ValueError`` for ``nan`` values.
Diffstat (limited to 'numpy/core/fromnumeric.py')
0 files changed, 0 insertions, 0 deletions