summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2017-06-09 12:23:52 -0600
committerGitHub <noreply@github.com>2017-06-09 12:23:52 -0600
commitfa913a8ea6a8b363962dec6d656049a1371b53d9 (patch)
treea368b6ee1ac1bbffe50aa45981ec2dab293801e7 /doc
parent18f69fdf3f0208ea26947b89edf60e7f83b0325d (diff)
parent0b060fd90f116fbf5b199603a11a4ce9e20c21c1 (diff)
downloadnumpy-fa913a8ea6a8b363962dec6d656049a1371b53d9.tar.gz
Merge pull request #5580 from jakirkham/fix_masked_array_views
BUG, DEP: Fix masked arrays to properly edit views. ( #5558 )
Diffstat (limited to 'doc')
-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 adb51416a..1fee9a74a 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]