summaryrefslogtreecommitdiff
path: root/numpy/matrixlib/defmatrix.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/matrixlib/defmatrix.py')
-rw-r--r--numpy/matrixlib/defmatrix.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/matrixlib/defmatrix.py b/numpy/matrixlib/defmatrix.py
index 51903e258..752bfdae5 100644
--- a/numpy/matrixlib/defmatrix.py
+++ b/numpy/matrixlib/defmatrix.py
@@ -952,8 +952,9 @@ class matrix(N.ndarray):
Returns
-------
ret : matrix
- A copy of the matrix, flattened to a `(1, N)` matrix where `N`
+ Return the matrix flattened to shape `(1, N)` where `N`
is the number of elements in the original matrix.
+ A copy is made only if necessary.
See Also
--------