summaryrefslogtreecommitdiff
path: root/numpy/ma/core.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/ma/core.py')
-rw-r--r--numpy/ma/core.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/ma/core.py b/numpy/ma/core.py
index 8e1e71e0a..1f5f84f19 100644
--- a/numpy/ma/core.py
+++ b/numpy/ma/core.py
@@ -1354,7 +1354,8 @@ class MaskedArray(numeric.ndarray):
# raise IndexError, msg
if isinstance(indx, basestring):
ndarray.__setitem__(self._data,indx, getdata(value))
- warnings.warn("The mask is NOT affected!")
+ warnings.warn("MaskedArray.__setitem__ on fields: "\
+ "The mask is NOT affected!")
return
#....
if value is masked: