summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorMark Wiebe <mwiebe@enthought.com>2011-07-07 17:56:29 -0500
committerCharles Harris <charlesr.harris@gmail.com>2011-07-08 19:38:24 -0600
commitcf8c0a08ab023e023cdc92046b6000da4c8b6914 (patch)
treeeadaef4bfa12f3f9936c1c08b66d0d7e4b17f14b /numpy
parent8f2ca28139657b427731d9f56be0e41d6e19fa6f (diff)
downloadnumpy-cf8c0a08ab023e023cdc92046b6000da4c8b6914.tar.gz
STY: Some small stylistic changes
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/include/numpy/ndarraytypes.h2
-rw-r--r--numpy/core/src/multiarray/nditer_constr.c2
2 files changed, 2 insertions, 2 deletions
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);