diff options
Diffstat (limited to 'numpy/f2py/cfuncs.py')
-rw-r--r-- | numpy/f2py/cfuncs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/f2py/cfuncs.py b/numpy/f2py/cfuncs.py index ec448680d..2d33c90b5 100644 --- a/numpy/f2py/cfuncs.py +++ b/numpy/f2py/cfuncs.py @@ -1075,7 +1075,7 @@ def append_needs(need,flag=1): if type(need)==types.ListType: for n in need: append_needs(n,flag) - elif type(need)==types.StringType: + elif type(need)==str: if not need: return if need in includes0: n = 'includes0' |