summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2012-04-21 12:31:37 -0600
committerCharles Harris <charlesr.harris@gmail.com>2012-04-21 12:31:37 -0600
commitcaf3b9e89fe63efcfcacb58bae64ff4724b81d9f (patch)
treee689e5862c63d566c1d5021864a92b298bdbebb4
parent4929ebab7bc937c59138493fcbfbd21d03ca316b (diff)
downloadnumpy-caf3b9e89fe63efcfcacb58bae64ff4724b81d9f.tar.gz
STY: Whitespace cleanups.
-rw-r--r--numpy/core/src/multiarray/array_assign_array.c1
-rw-r--r--numpy/core/src/multiarray/number.c2
-rw-r--r--numpy/core/src/multiarray/ucsnarrow.c4
3 files changed, 3 insertions, 4 deletions
diff --git a/numpy/core/src/multiarray/array_assign_array.c b/numpy/core/src/multiarray/array_assign_array.c
index e85a1f596..03231a995 100644
--- a/numpy/core/src/multiarray/array_assign_array.c
+++ b/numpy/core/src/multiarray/array_assign_array.c
@@ -809,4 +809,3 @@ fail:
}
return -1;
}
-
diff --git a/numpy/core/src/multiarray/number.c b/numpy/core/src/multiarray/number.c
index f0e4dcd13..4cbf80df9 100644
--- a/numpy/core/src/multiarray/number.c
+++ b/numpy/core/src/multiarray/number.c
@@ -277,7 +277,7 @@ array_remainder(PyArrayObject *m1, PyObject *m2)
/* Determine if object is a scalar and if so, convert the object
* to a double and place it in the out_exponent argument
- * and return the "scalar kind" as a result. If the object is
+ * and return the "scalar kind" as a result. If the object is
* not a scalar (or if there are other error conditions)
* return NPY_NOSCALAR, and out_exponent is undefined.
*/
diff --git a/numpy/core/src/multiarray/ucsnarrow.c b/numpy/core/src/multiarray/ucsnarrow.c
index 55eb6c37c..406b776bc 100644
--- a/numpy/core/src/multiarray/ucsnarrow.c
+++ b/numpy/core/src/multiarray/ucsnarrow.c
@@ -104,7 +104,7 @@ PyUCS2Buffer_AsUCS4(Py_UNICODE *ucs2, npy_ucs4 *ucs4, int ucs2len, int ucs4len)
* Returns
* -------
* new_reference: PyUnicodeObject
- */
+ */
NPY_NO_EXPORT PyUnicodeObject *
PyUnicode_FromUCS4(char *src, Py_ssize_t size, int swap, int align)
{
@@ -168,5 +168,5 @@ fail:
if (alloc) {
free(buf);
}
- return NULL;
+ return NULL;
}