summaryrefslogtreecommitdiff
path: root/numpy/f2py/rules.py
diff options
context:
space:
mode:
authorPearu Peterson <pearu.peterson@gmail.com>2021-05-26 15:36:12 +0300
committerGitHub <noreply@github.com>2021-05-26 15:36:12 +0300
commit6eeab25f62fd52feb3738c836ade2da8fab32fac (patch)
tree428db67eb48bc6b9f986c941a4c7391626a5b2fe /numpy/f2py/rules.py
parentb30cf59bf752f21c5927734a4479fa075ca5f2cd (diff)
downloadnumpy-6eeab25f62fd52feb3738c836ade2da8fab32fac.tar.gz
Update numpy/f2py/rules.py
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
Diffstat (limited to 'numpy/f2py/rules.py')
-rwxr-xr-xnumpy/f2py/rules.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/f2py/rules.py b/numpy/f2py/rules.py
index 4f21b0d99..f01b2bcfa 100755
--- a/numpy/f2py/rules.py
+++ b/numpy/f2py/rules.py
@@ -562,7 +562,7 @@ rout_rules = [
'callfortran':'#name#_return_value,#name#_return_value_len,',
'callfortranroutine':['\t#name#_return_value_len = #rlength#;',
'\tif ((#name#_return_value = (string)malloc('
- '#name#_return_value_len+1) == NULL) {',
+ '#name#_return_value_len+1) == NULL) {',
'\t\tPyErr_SetString(PyExc_MemoryError, \"out of memory\");',
'\t\tf2py_success = 0;',
'\t} else {',