diff options
author | Travis Oliphant <oliphant@enthought.com> | 2006-08-26 07:50:53 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2006-08-26 07:50:53 +0000 |
commit | 5dd549836b872e7c65f2d6b69e303f953de0f488 (patch) | |
tree | 1c389c7006f47b4497e404e3cb9d68d500d8d8b5 /numpy/core/src/arraymethods.c | |
parent | c37cfa5b256d257a339b30334392c93ae8b7d78a (diff) | |
download | numpy-5dd549836b872e7c65f2d6b69e303f953de0f488.tar.gz |
Fix broadcast-copy on fancy set-item.
Diffstat (limited to 'numpy/core/src/arraymethods.c')
-rw-r--r-- | numpy/core/src/arraymethods.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/numpy/core/src/arraymethods.c b/numpy/core/src/arraymethods.c index 9cbe5b455..6ed630b30 100644 --- a/numpy/core/src/arraymethods.c +++ b/numpy/core/src/arraymethods.c @@ -2,8 +2,8 @@ /* Should only be used if x is known to be an nd-array */ #define _ARET(x) PyArray_Return((PyArrayObject *)(x)) -static char doc_take[] = "a.take(indices, axis=None). Selects the elements "\ - "in indices from array a along the given axis."; +static char doc_take[] = "a.take(indices, axis=None, out=None, mode='raise')."\ + "Selects the elements in indices from array a along the given axis."; static PyObject * array_take(PyArrayObject *self, PyObject *args, PyObject *kwds) @@ -41,9 +41,9 @@ array_fill(PyArrayObject *self, PyObject *args) return Py_None; } -static char doc_put[] = "a.put(values, indices, mode) sets a.flat[n] = v[n] "\ - "for each n in indices. v can be scalar or shorter than indices, "\ - "will repeat."; +static char doc_put[] = "a.put(values, indices, mode) sets a.flat[n] = "\ + "values[n] for\n" "each n in indices. v can be scalar or shorter "\ + "than indices,\n" "and it will repeat."; static PyObject * array_put(PyArrayObject *self, PyObject *args, PyObject *kwds) |