diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2015-05-02 11:22:37 -0600 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2015-05-02 12:58:05 -0600 |
commit | 63ff998b5789a5aa7ce7830a258445544f1063ae (patch) | |
tree | 4aaab6abf03297f9f5860da46d25fc7081a757ba /numpy/lib/tests/test_function_base.py | |
parent | 602836b99c2a046574dd352def24980b2da9d9b2 (diff) | |
download | numpy-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