Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
pearu committed May 26, 2021
1 parent 870bf6c commit b30cf59
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion numpy/f2py/rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,8 @@
'\tint #name#_return_value_len = 0;'],
'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) {',
'\tif ((#name#_return_value = (string)malloc('
'#name#_return_value_len+1) == NULL) {',
'\t\tPyErr_SetString(PyExc_MemoryError, \"out of memory\");',
'\t\tf2py_success = 0;',
'\t} else {',
Expand Down

0 comments on commit b30cf59

Please sign in to comment.