summaryrefslogtreecommitdiff
path: root/numpy/polynomial/polyutils.py
diff options
context:
space:
mode:
authorThomas A Caswell <tcaswell@gmail.com>2016-02-05 12:10:26 -0500
committerThomas A Caswell <tcaswell@gmail.com>2016-02-07 14:26:55 -0500
commit08fb5807118423e314f324b9bcafdbaab9316f4d (patch)
tree1e905ccb1d1388a747595ce558a3799af88a337b /numpy/polynomial/polyutils.py
parent010d17ee8167196ea90c24c57b4ea34badfc11ae (diff)
downloadnumpy-08fb5807118423e314f324b9bcafdbaab9316f4d.tar.gz
MNT: move std, var, mean calls out of try block
Move the calls to user-provided versions of std, var, and mean on non mu.ndarray objects out of the `try` block so that numpy will not mask AttributeError raised during the execution of the function rather than due to the object not having the required method.
Diffstat (limited to 'numpy/polynomial/polyutils.py')
0 files changed, 0 insertions, 0 deletions