Skip to content

Commit

Permalink
Update numpy/core/src/multiarray/descriptor.c
Browse files Browse the repository at this point in the history
Co-Authored-By: Sebastian Berg <[email protected]>
  • Loading branch information
ericmariasis and seberg authored Feb 1, 2020
1 parent 991a787 commit 54efe37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion numpy/core/src/multiarray/descriptor.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 54efe37

Please sign in to comment.