From cf8c0a08ab023e023cdc92046b6000da4c8b6914 Mon Sep 17 00:00:00 2001 From: Mark Wiebe Date: Thu, 7 Jul 2011 17:56:29 -0500 Subject: STY: Some small stylistic changes --- numpy/core/include/numpy/ndarraytypes.h | 2 +- numpy/core/src/multiarray/nditer_constr.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'numpy') diff --git a/numpy/core/include/numpy/ndarraytypes.h b/numpy/core/include/numpy/ndarraytypes.h index cc57dbf60..66aa15820 100644 --- a/numpy/core/include/numpy/ndarraytypes.h +++ b/numpy/core/include/numpy/ndarraytypes.h @@ -213,7 +213,7 @@ typedef enum { /* The special not-a-time (NaT) value */ #define NPY_DATETIME_NAT NPY_MIN_INT64 /* - * Theoretical maximum length of a DATETIME ISO 8601 string + * Upper bound on the length of a DATETIME ISO 8601 string * YEAR: 21 (64-bit year) * MONTH: 3 * DAY: 3 diff --git a/numpy/core/src/multiarray/nditer_constr.c b/numpy/core/src/multiarray/nditer_constr.c index fc13aa0f5..94baafbdb 100644 --- a/numpy/core/src/multiarray/nditer_constr.c +++ b/numpy/core/src/multiarray/nditer_constr.c @@ -1028,7 +1028,7 @@ npyiter_prepare_one_operand(PyArrayObject **op, *op_dtype = PyArray_DESCR(*op); if (*op_dtype == NULL) { PyErr_SetString(PyExc_ValueError, - "Iterator input array object has no dtype descr"); + "Iterator input operand has no dtype descr"); return 0; } Py_INCREF(*op_dtype); -- cgit v1.2.1