diff options
Diffstat (limited to 'numpy/core/memmap.py')
-rw-r--r-- | numpy/core/memmap.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/memmap.py b/numpy/core/memmap.py index 0ac153a74..a4f049f2c 100644 --- a/numpy/core/memmap.py +++ b/numpy/core/memmap.py @@ -7,7 +7,7 @@ import sys import numpy as np from .numeric import uint8, ndarray, dtype -from numpy.compat import long +from numpy.compat import long, basestring dtypedescr = dtype valid_filemodes = ["r", "c", "r+", "w+"] |