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: Eric Wieser <[email protected]>
  • Loading branch information
ericmariasis and eric-wieser authored Feb 1, 2020
1 parent 0d4b5af commit 46428cc
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 @@ -483,7 +483,7 @@ _convert_from_array_descr(PyObject *obj, int align)
Py_INCREF(name);
}
else {
PyErr_SetString(PyExc_TypeError, "Field names must be non-empty Unicode strings");
PyErr_SetString(PyExc_TypeError, "Field names must be non-empty strings");
goto fail;
}
}
Expand Down

0 comments on commit 46428cc

Please sign in to comment.