summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorEric Mariasis <ericmariasis829@gmail.com>2020-02-01 07:24:07 -0500
committerGitHub <noreply@github.com>2020-02-01 07:24:07 -0500
commit60da9eb494c4be5d3a6de2dbb8ad6f329d9ae517 (patch)
tree95bae0064406e90746020d9f6485708ab2960fa4 /numpy
parent46428cc284ffcfbe83527ddb7e614c9a63e50fbb (diff)
downloadnumpy-60da9eb494c4be5d3a6de2dbb8ad6f329d9ae517.tar.gz
Update numpy/core/src/multiarray/descriptor.c
Co-Authored-By: Eric Wieser <wieser.eric@gmail.com>
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/src/multiarray/descriptor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/src/multiarray/descriptor.c b/numpy/core/src/multiarray/descriptor.c
index d761acd4a..d9098024d 100644
--- a/numpy/core/src/multiarray/descriptor.c
+++ b/numpy/core/src/multiarray/descriptor.c
@@ -462,7 +462,7 @@ _convert_from_array_descr(PyObject *obj, int align)
}
}
else {
- PyErr_SetString(PyExc_TypeError, "First element of field tuple is neither a tuple nor base string");
+ PyErr_SetString(PyExc_TypeError, "First element of field tuple is neither a tuple nor str");
goto fail;
}