diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2016-11-03 21:00:43 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-03 21:00:43 -0400 |
commit | 7d3e4488afb7bcdfcf0b5ff52fb1cdcd7dc3748b (patch) | |
tree | f5568135c4c27523f1ada0830fc9e625d4e2d423 | |
parent | 94b36b557ce7d88bbfe4091c59aa376764b7047d (diff) | |
parent | 18a9075496407e162b1401817316932c0982ca4c (diff) | |
download | numpy-7d3e4488afb7bcdfcf0b5ff52fb1cdcd7dc3748b.tar.gz |
Merge pull request #8234 from MSeifert04/asarray_doc
DOC: Clarified when a copy is made in numpy.asarray
-rw-r--r-- | numpy/core/numeric.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/numeric.py b/numpy/core/numeric.py index 82f7b081f..5cc178e02 100644 --- a/numpy/core/numeric.py +++ b/numpy/core/numeric.py @@ -480,8 +480,8 @@ def asarray(a, dtype=None, order=None): ------- out : ndarray Array interpretation of `a`. No copy is performed if the input - is already an ndarray. If `a` is a subclass of ndarray, a base - class ndarray is returned. + is already an ndarray with matching dtype and order. If `a` is a + subclass of ndarray, a base class ndarray is returned. See Also -------- |