From 428c89c27bf7f57071ccd8ae150b75ddbd8a474a Mon Sep 17 00:00:00 2001 From: Charles Harris Date: Thu, 5 Mar 2009 03:40:32 +0000 Subject: Coding style cleanup. Remove trailing whitespace. --- numpy/core/src/arrayobject.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'numpy/core/src/arrayobject.c') diff --git a/numpy/core/src/arrayobject.c b/numpy/core/src/arrayobject.c index 3b818b224..6676bce93 100644 --- a/numpy/core/src/arrayobject.c +++ b/numpy/core/src/arrayobject.c @@ -6781,12 +6781,14 @@ array_data_get(PyArrayObject *self) return NULL; } nbytes = PyArray_NBYTES(self); - if PyArray_ISWRITEABLE(self) + if PyArray_ISWRITEABLE(self) { return PyBuffer_FromReadWriteObject((PyObject *)self, 0, (Py_ssize_t) nbytes); - else - return PyBuffer_FromObject((PyObject *)self, 0, + } + else { + return PyBuffer_FromObject((PyObject *)self, 0, (Py_ssize_t) nbytes); + } } static int -- cgit v1.2.1