diff options
author | Eric Mariasis <ericmariasis829@gmail.com> | 2020-02-01 10:12:45 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-01 10:12:45 -0500 |
commit | 9bbe90d82506d24a71e6b6001726d798d6643854 (patch) | |
tree | 2f38b2a28a4769b798a9cc8b3421211b29537ed2 | |
parent | d8f865f3a5e040cbf1871e0da86e76a31b8764ca (diff) | |
download | numpy-9bbe90d82506d24a71e6b6001726d798d6643854.tar.gz |
Update numpy/core/src/multiarray/descriptor.c
Co-Authored-By: Eric Wieser <wieser.eric@gmail.com>
-rw-r--r-- | numpy/core/src/multiarray/descriptor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/src/multiarray/descriptor.c b/numpy/core/src/multiarray/descriptor.c index f6d70b68e..4cae733e4 100644 --- a/numpy/core/src/multiarray/descriptor.c +++ b/numpy/core/src/multiarray/descriptor.c @@ -1492,7 +1492,7 @@ _convert_from_any(PyObject *obj, int align) return ret; } Py_DECREF(ret); - PyErr_Format(PyExc_TypeError, "Cannot interpret %R as a data type"); + PyErr_Format(PyExc_TypeError, "Cannot interpret %R as a data type", obj); return NULL; } } |