diff options
Diffstat (limited to 'numpy/add_newdocs.py')
-rw-r--r-- | numpy/add_newdocs.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/numpy/add_newdocs.py b/numpy/add_newdocs.py index c0dc56f30..4916a9611 100644 --- a/numpy/add_newdocs.py +++ b/numpy/add_newdocs.py @@ -3316,7 +3316,9 @@ add_newdoc('numpy.core.multiarray', 'ndarray', ('diagonal', """ a.diagonal(offset=0, axis1=0, axis2=1) - Return specified diagonals. + Return specified diagonals. In NumPy 1.9 the returned array is a + read-only view instead of a copy as in previous NumPy versions. In + NumPy 1.10 the read-only restriction will be removed. Refer to :func:`numpy.diagonal` for full documentation. |