summaryrefslogtreecommitdiff
path: root/numpy/core/fromnumeric.py
diff options
context:
space:
mode:
authorKexuan Sun <me@kianasun.com>2019-07-25 11:26:06 -0700
committerSebastian Berg <sebastian@sipsolutions.net>2019-07-25 11:26:06 -0700
commitfeee90d9e14490daa2439eb37c8511555d073f92 (patch)
treeef2208871d0a6023ba6603fb4c2c57a023ca1307 /numpy/core/fromnumeric.py
parent9259a7ff720ebebdd90dbe5469f08ed386de5f1d (diff)
downloadnumpy-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