diff options
Diffstat (limited to 'numpy/f2py/crackfortran.py')
-rwxr-xr-x | numpy/f2py/crackfortran.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/f2py/crackfortran.py b/numpy/f2py/crackfortran.py index fe4091bcd..f60e2525c 100755 --- a/numpy/f2py/crackfortran.py +++ b/numpy/f2py/crackfortran.py @@ -2611,7 +2611,7 @@ def true_intent_list(var): ret = [] for intent in lst: try: - exec('c = isintent_%s(var)' % intent) + c = eval('isintent_%s(var)' % intent) except NameError: c = 0 if c: |