summaryrefslogtreecommitdiff
path: root/numpy/f2py/lib/src/pyobj_to_long.c
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/f2py/lib/src/pyobj_to_long.c')
-rw-r--r--numpy/f2py/lib/src/pyobj_to_long.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/f2py/lib/src/pyobj_to_long.c b/numpy/f2py/lib/src/pyobj_to_long.c
index 2d80ee3c0..f93b34841 100644
--- a/numpy/f2py/lib/src/pyobj_to_long.c
+++ b/numpy/f2py/lib/src/pyobj_to_long.c
@@ -25,7 +25,8 @@ int pyobj_to_long(PyObject *obj, long* value) {
Py_DECREF(tmp);
}
if (!PyErr_Occurred()) {
- PyErr_SetString(PyExc_TypeError, "Failed to convert python object to C long.");
+ PyErr_SetString(PyExc_TypeError,
+ "Failed to convert python object to C long.");
}
return 0;
}