summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_function_base.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2015-05-02 11:22:37 -0600
committerCharles Harris <charlesr.harris@gmail.com>2015-05-02 12:58:05 -0600
commit63ff998b5789a5aa7ce7830a258445544f1063ae (patch)
tree4aaab6abf03297f9f5860da46d25fc7081a757ba /numpy/lib/tests/test_function_base.py
parent602836b99c2a046574dd352def24980b2da9d9b2 (diff)
downloadnumpy-63ff998b5789a5aa7ce7830a258445544f1063ae.tar.gz
MAINT: Refactor numpy.ma.where.
Use np._NoValue as default values of 'x' and 'y' in signature. That allows None values to be used for compatibility with the unmasked version of where and makes detection of the case when neither is given easier. Use properties *.data and *.mask instead of *._data and *._mask. That may avoid some subtle problems. Minor style cleanups.
Diffstat (limited to 'numpy/lib/tests/test_function_base.py')
0 files changed, 0 insertions, 0 deletions