summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2017-10-18 13:39:01 -0600
committerGitHub <noreply@github.com>2017-10-18 13:39:01 -0600
commit86a7ac621b1b78c66b4be1c959a3b5c74511b124 (patch)
tree2edfa61c60c2bcd64d4e5245cf1d24a78cc3945c
parent53a022b9ce5864d7947a2ebdabecf676031a410d (diff)
downloadnumpy-86a7ac621b1b78c66b4be1c959a3b5c74511b124.tar.gz
STY: Add blank line after variable declarations.
-rw-r--r--numpy/core/src/multiarray/strfuncs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/numpy/core/src/multiarray/strfuncs.c b/numpy/core/src/multiarray/strfuncs.c
index 624c551ce..bb94eb9f3 100644
--- a/numpy/core/src/multiarray/strfuncs.c
+++ b/numpy/core/src/multiarray/strfuncs.c
@@ -209,6 +209,7 @@ array_format(PyArrayObject *self, PyObject *args)
if (PyArray_NDIM(self) == 0) {
PyObject *item = PyArray_ToScalar(PyArray_DATA(self), self);
PyObject *res;
+
if (item == NULL) {
return NULL;
}