diff options
Diffstat (limited to 'numpy/core/src/arrayobject.c')
-rw-r--r-- | numpy/core/src/arrayobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/src/arrayobject.c b/numpy/core/src/arrayobject.c index ff04485d6..954441e04 100644 --- a/numpy/core/src/arrayobject.c +++ b/numpy/core/src/arrayobject.c @@ -12908,7 +12908,7 @@ descr_repeat(PyObject *self, Py_ssize_t length) PyArray_Descr *new; if (length < 0) { return PyErr_Format(PyExc_ValueError, - "Array length must be >= 0, not %"INTP_FMT, + "Array length must be >= 0, not %"NPY_SSIZE_T_PYFMT, length); } tup = Py_BuildValue("O" NPY_SSIZE_T_PYFMT, self, length); |