summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--numpy/core/src/multiarray/methods.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/src/multiarray/methods.c b/numpy/core/src/multiarray/methods.c
index c5a5fdedb..587a42fd0 100644
--- a/numpy/core/src/multiarray/methods.c
+++ b/numpy/core/src/multiarray/methods.c
@@ -1863,7 +1863,7 @@ array_dot(PyArrayObject *self, PyObject *args, PyObject *kwds)
return NULL;
}
}
- fname = PyString_FromString("dot");
+ fname = PyUnicode_FromString("dot");
if (out == NULL) {
ret = PyObject_CallMethodObjArgs(numpycore, fname, self, b, NULL);
}