summaryrefslogtreecommitdiff
path: root/numpy/add_newdocs.py
diff options
context:
space:
mode:
authorTravis E. Oliphant <teoliphant@gmail.com>2012-10-09 22:31:25 -0700
committerTravis E. Oliphant <teoliphant@gmail.com>2012-10-09 22:31:25 -0700
commitebc9bbb0f1d3f316254b29f8965112c85b63e62f (patch)
treea3e8e05e937ffd78b4f0719fdbdf17103b40132f /numpy/add_newdocs.py
parent87930c4c30f14226ae8ceb0340858fd9940d67ea (diff)
parent1a71edc55b227e590022d402e5b6558d3a9921f1 (diff)
downloadnumpy-ebc9bbb0f1d3f316254b29f8965112c85b63e62f.tar.gz
Merge pull request #476 from njsmith/copy-memory-order
[FIX] preserve memory order in np.copy()
Diffstat (limited to 'numpy/add_newdocs.py')
-rw-r--r--numpy/add_newdocs.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/numpy/add_newdocs.py b/numpy/add_newdocs.py
index 20da8ea8b..09effaaf5 100644
--- a/numpy/add_newdocs.py
+++ b/numpy/add_newdocs.py
@@ -3222,10 +3222,13 @@ add_newdoc('numpy.core.multiarray', 'ndarray', ('copy',
Controls the memory layout of the copy. 'C' means C-order,
'F' means F-order, 'A' means 'F' if `a` is Fortran contiguous,
'C' otherwise. 'K' means match the layout of `a` as closely
- as possible.
+ as possible. (Note that this function and :func:numpy.copy are very
+ similar, but have different default values for their order=
+ arguments.)
See also
--------
+ numpy.copy
numpy.copyto
Examples