diff options
author | Mark Wiebe <mwwiebe@gmail.com> | 2011-04-22 14:34:49 -0700 |
---|---|---|
committer | Mark Wiebe <mwwiebe@gmail.com> | 2011-04-22 14:34:49 -0700 |
commit | deb290356248b39176518b2b22af743e11e91496 (patch) | |
tree | 6b7b6e56643153a63dbcbb43ef71564cfbe8e38d | |
parent | 0a0ff695f9806e3f4475456bf70f1a789aee7a57 (diff) | |
download | numpy-deb290356248b39176518b2b22af743e11e91496.tar.gz |
STY: Add comment about errobj reference ownership
-rw-r--r-- | numpy/core/src/umath/ufunc_object.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/numpy/core/src/umath/ufunc_object.c b/numpy/core/src/umath/ufunc_object.c index 471700dc0..110d300fc 100644 --- a/numpy/core/src/umath/ufunc_object.c +++ b/numpy/core/src/umath/ufunc_object.c @@ -442,7 +442,11 @@ _extract_pyvals(PyObject *ref, char *name, int *bufsize, -/*UFUNC_API*/ +/*UFUNC_API + * + * On return, if errobj is populated with a non-NULL value, the caller + * owns a new reference to errobj. + */ NPY_NO_EXPORT int PyUFunc_GetPyValues(char *name, int *bufsize, int *errmask, PyObject **errobj) { |