summaryrefslogtreecommitdiff
path: root/numpy/add_newdocs.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/add_newdocs.py')
-rw-r--r--numpy/add_newdocs.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/numpy/add_newdocs.py b/numpy/add_newdocs.py
index dd48191b6..6b7d98c4d 100644
--- a/numpy/add_newdocs.py
+++ b/numpy/add_newdocs.py
@@ -685,11 +685,17 @@ add_newdoc('numpy.core.multiarray', 'array',
If this is set to False, it forces the array to not have an NA
mask. If the input is an array with a mask, and has no NA values,
it will create a copy of the input without an NA mask.
+
+ .. versionadded:: 1.7.0
+
ownmaskna : bool, optional
If this is set to True, forces the array to have a mask which
it owns. It may still return a view of the data from the input,
but the result will always own its own mask.
+ .. versionadded:: 1.7.0
+
+
Returns
-------
out : ndarray
@@ -699,6 +705,11 @@ add_newdoc('numpy.core.multiarray', 'array',
--------
empty, empty_like, zeros, zeros_like, ones, ones_like, fill
+ Notes
+ -----
+ The `maskna` and `ownmaskna` keywords are *experimental* in the 1.7
+ release; their behavior may change in future versions.
+
Examples
--------
>>> np.array([1, 2, 3])