summaryrefslogtreecommitdiff
path: root/numpy/core/src/arraymethods.c
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-06-22 01:20:16 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-06-22 01:20:16 +0000
commitbcc293b75e2a266ff5be2f21921c1b12bda386bd (patch)
tree75fd62a556a78649f07d123720c6c2378f2a6dac /numpy/core/src/arraymethods.c
parent9b6417cb6ece0cb53aaac162b6caa839965c915f (diff)
downloadnumpy-bcc293b75e2a266ff5be2f21921c1b12bda386bd.tar.gz
Speed up some copying code. Add MoveInto and CopyInto variants of PyArray_<...>. Add PyArray_CopyObject to C-API.
Diffstat (limited to 'numpy/core/src/arraymethods.c')
-rw-r--r--numpy/core/src/arraymethods.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/numpy/core/src/arraymethods.c b/numpy/core/src/arraymethods.c
index 3427ebd0b..09d785ae2 100644
--- a/numpy/core/src/arraymethods.c
+++ b/numpy/core/src/arraymethods.c
@@ -597,11 +597,11 @@ array_getarray(PyArrayObject *self, PyObject *args)
}
}
-static char doc_copy[] = "m.copy(|fortran). Return a copy of the array.\n"\
- "If fortran is false then the result is contiguous (default). \n"\
- "If fortran is true then the result has fortran data order. \n"\
- "If fortran is None then the result has fortran data order only if m\n"
- " is already in fortran order.";
+static char doc_copy[] = "m.copy(|order). Return a copy of the array.\n"\
+ "If order is 'C' (False) then the result is contiguous (default). \n"\
+ "If order is 'Fortran' (True) then the result has fortran order. \n"\
+ "If order is 'Any' (None) then the result has fortran order \n"\
+ "only if m is already in fortran order.";
static PyObject *
array_copy(PyArrayObject *self, PyObject *args)