summaryrefslogtreecommitdiff
path: root/numpy/f2py/lib/py_wrap.py
diff options
context:
space:
mode:
authorPearu Peterson <pearu.peterson@gmail.com>2006-10-14 21:22:07 +0000
committerPearu Peterson <pearu.peterson@gmail.com>2006-10-14 21:22:07 +0000
commitf1c9d44a13ad1ff8002fdbbc015a71cc08fccc67 (patch)
tree43b038f95f11d03931ebcfac972b4df07e784d78 /numpy/f2py/lib/py_wrap.py
parent1c36f49e3964e894f03a7b97b75096f4634ae3b3 (diff)
downloadnumpy-f1c9d44a13ad1ff8002fdbbc015a71cc08fccc67.tar.gz
F2PY G3: fixed compiler warnings.
Diffstat (limited to 'numpy/f2py/lib/py_wrap.py')
-rw-r--r--numpy/f2py/lib/py_wrap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/f2py/lib/py_wrap.py b/numpy/f2py/lib/py_wrap.py
index b35e4452c..e8734ec08 100644
--- a/numpy/f2py/lib/py_wrap.py
+++ b/numpy/f2py/lib/py_wrap.py
@@ -45,7 +45,7 @@ PyMODINIT_FUNC init%(modulename)s(void) {
import_array();
if (PyErr_Occurred()) {
PyErr_SetString(PyExc_ImportError, "failed to load array module.");
- return;
+ goto capi_err;
}
%(module_init_list)s
return;