summaryrefslogtreecommitdiff
path: root/numpy/lib/arraysetops.py
diff options
context:
space:
mode:
authorMarten van Kerkwijk <mhvk@astro.utoronto.ca>2014-03-21 21:53:33 -0400
committerMarten van Kerkwijk <mhvk@astro.utoronto.ca>2014-04-04 09:37:10 -0400
commit24a8f3be2f8f85d67d47ba34fd5fe9a2f886aa30 (patch)
tree84e5ba8b112e736a427839a6da0301d52e8e60af /numpy/lib/arraysetops.py
parent3998fdf2b99d976528e3de399fb536666d588bce (diff)
downloadnumpy-24a8f3be2f8f85d67d47ba34fd5fe9a2f886aa30.tar.gz
ENH: Ensure that repr and str work for MaskedArray non-ndarray bases
For repr, use the name of the base class in output as "masked_<name>" (with name=array for ndarray to match the previous implementation). For str, insert masked_print_option in an ndarray view of the object array that is created for string output, to avoid calling __setitem__ in the base class. Add tests to ensure this works.
Diffstat (limited to 'numpy/lib/arraysetops.py')
0 files changed, 0 insertions, 0 deletions