summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2012-07-16 12:56:29 -0700
committerCharles Harris <charlesr.harris@gmail.com>2012-07-16 12:56:29 -0700
commitf369ed602922ae19f77a54838ca2e7b65697c119 (patch)
tree94752327aab98ff6d4b63bc8a68824bb35122d70
parent4d371699a957b3f5c306ee0f5b8c2548c49338e5 (diff)
parent0d59c78f227b00e0bb97731623f5cba56483e7b8 (diff)
downloadnumpy-f369ed602922ae19f77a54838ca2e7b65697c119.tar.gz
Merge pull request #332 from nouiz/fillwbyte_doc
Add doc for PyArray_FILLWBYTE to tell the ndarray must be c contiguous.
-rw-r--r--doc/source/reference/c-api.array.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/source/reference/c-api.array.rst b/doc/source/reference/c-api.array.rst
index 8736cbc3f..bf8077a69 100644
--- a/doc/source/reference/c-api.array.rst
+++ b/doc/source/reference/c-api.array.rst
@@ -289,6 +289,7 @@ From scratch
Fill the array pointed to by *obj* ---which must be a (subclass
of) bigndarray---with the contents of *val* (evaluated as a byte).
+ This macro calls memset, so obj must be contiguous.
.. cfunction:: PyObject* PyArray_Zeros(int nd, npy_intp* dims, PyArray_Descr* dtype, int fortran)