summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorEric Wieser <wieser.eric@gmail.com>2017-04-05 01:42:49 +0100
committerEric Wieser <wieser.eric@gmail.com>2017-04-05 01:42:49 +0100
commiteb6bbc8e5f6acee5b60f9f50580108f1387888c7 (patch)
tree33c8d7306bb865bf9529dd47fb822cfaf6885c0d /numpy
parent836d604d807d2a483eb41caf79c8c11b4ffe4a85 (diff)
downloadnumpy-eb6bbc8e5f6acee5b60f9f50580108f1387888c7.tar.gz
DOC: Add missing context argument
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/src/multiarray/ctors.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/core/src/multiarray/ctors.c b/numpy/core/src/multiarray/ctors.c
index f85cf4cbb..298bfcf5d 100644
--- a/numpy/core/src/multiarray/ctors.c
+++ b/numpy/core/src/multiarray/ctors.c
@@ -2535,7 +2535,8 @@ PyArray_FromDims(int nd, int *d, int type)
/* end old calls */
/*NUMPY_API
- * This is a quick wrapper around PyArray_FromAny(op, NULL, 0, 0, ENSUREARRAY)
+ * This is a quick wrapper around
+ * PyArray_FromAny(op, NULL, 0, 0, NPY_ARRAY_ENSUREARRAY, NULL)
* that special cases Arrays and PyArray_Scalars up front
* It *steals a reference* to the object
* It also guarantees that the result is PyArray_Type