diff options
Diffstat (limited to 'numpy/core')
| -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 125a18307..ffd49eaad 100644 --- a/numpy/core/src/multiarray/descriptor.c +++ b/numpy/core/src/multiarray/descriptor.c @@ -1493,7 +1493,7 @@ _convert_from_any(PyObject *obj, int align) return ret; } Py_DECREF(ret); - PyErr_Format(PyExc_TypeError, "Cannot interpret %R as a data type", obj); + PyErr_Format(PyExc_TypeError, "Cannot interpret '%R' as a data type", obj); return NULL; } } |
