summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Moore <ewm@redtetrahedron.org>2013-02-15 15:01:55 -0500
committerEric Moore <ewm@redtetrahedron.org>2013-02-15 15:01:55 -0500
commiteb5de874f3e2e9e534a05ec791d3ae7c0573147e (patch)
tree488a03bb1acc1579fd263a477a9b6b43d9baf1a5
parentbc602230cf2fd947d47326bd6584b4d31bf1e3ae (diff)
downloadnumpy-eb5de874f3e2e9e534a05ec791d3ae7c0573147e.tar.gz
BUG: use the PyUString_FromString macro for Py3 compat instead.
-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 587a42fd0..03d64858d 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 = PyUnicode_FromString("dot");
+ fname = PyUString_FromString("dot");
if (out == NULL) {
ret = PyObject_CallMethodObjArgs(numpycore, fname, self, b, NULL);
}