summaryrefslogtreecommitdiff
path: root/doc/source/reference
diff options
context:
space:
mode:
authorJohn Kirkham <kirkhamj@janelia.hhmi.org>2017-01-17 09:47:02 -0500
committerJohn Kirkham <kirkhamj@janelia.hhmi.org>2017-01-17 09:47:02 -0500
commit0b060fd90f116fbf5b199603a11a4ce9e20c21c1 (patch)
tree7e748cc332d15725dc6a4c722c785b08c000e3b1 /doc/source/reference
parentba78dc259562d1f895c52a12973e3fb94b7163f8 (diff)
downloadnumpy-0b060fd90f116fbf5b199603a11a4ce9e20c21c1.tar.gz
DOC: Correct docs for masked array view behavior.
Diffstat (limited to 'doc/source/reference')
-rw-r--r--doc/source/reference/maskedarray.generic.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/source/reference/maskedarray.generic.rst b/doc/source/reference/maskedarray.generic.rst
index f753a56f9..4ea936dea 100644
--- a/doc/source/reference/maskedarray.generic.rst
+++ b/doc/source/reference/maskedarray.generic.rst
@@ -379,8 +379,8 @@ is masked.
When accessing a slice, the output is a masked array whose
:attr:`~MaskedArray.data` attribute is a view of the original data, and whose
mask is either :attr:`nomask` (if there was no invalid entries in the original
-array) or a copy of the corresponding slice of the original mask. The copy is
-required to avoid propagation of any modification of the mask to the original.
+array) or a view of the corresponding slice of the original mask. The view is
+required to ensure propagation of any modification of the mask to the original.
>>> x = ma.array([1, 2, 3, 4, 5], mask=[0, 1, 0, 0, 1])
>>> mx = x[:3]