summaryrefslogtreecommitdiff
path: root/numpy/core/include
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2018-11-24 16:26:04 -0600
committerGitHub <noreply@github.com>2018-11-24 16:26:04 -0600
commitb47ed76ebfbbd91b5d475eb19043a98e95dc2ad5 (patch)
treeb214ba5ab24567bcbb6f6e9901da233efa8f8f95 /numpy/core/include
parent983bbb5ed2495e034b437a0b58a69371d4dfed74 (diff)
parent46e9fd95d96fc15b567bf3c324129fe89bdc0713 (diff)
downloadnumpy-b47ed76ebfbbd91b5d475eb19043a98e95dc2ad5.tar.gz
Merge pull request #12419 from timfel/fix-fill-funcs
Fix PyArray_FillFunc function definitions
Diffstat (limited to 'numpy/core/include')
-rw-r--r--numpy/core/include/numpy/ndarraytypes.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/core/include/numpy/ndarraytypes.h b/numpy/core/include/numpy/ndarraytypes.h
index da006909a..b0b749c80 100644
--- a/numpy/core/include/numpy/ndarraytypes.h
+++ b/numpy/core/include/numpy/ndarraytypes.h
@@ -505,7 +505,8 @@ typedef struct {
PyArray_NonzeroFunc *nonzero;
/*
- * Used for arange.
+ * Used for arange. Should return 0 on success
+ * and -1 on failure.
* Can be NULL.
*/
PyArray_FillFunc *fill;