1 parent 59b21c8 commit d06d366Copy full SHA for d06d366
1 file changed
xlrd/__init__.py
@@ -23,17 +23,11 @@
23
# print >> sys.stderr, "...importing encodings"
24
import encodings
25
26
-try:
27
- import mmap
28
- MMAP_AVAILABLE = 1
29
-except ImportError:
30
- MMAP_AVAILABLE = 0
31
-USE_MMAP = MMAP_AVAILABLE
32
33
def open_workbook(filename=None,
34
logfile=sys.stdout,
35
verbosity=0,
36
- use_mmap=USE_MMAP,
+ use_mmap=True,
37
file_contents=None,
38
encoding_override=None,
39
formatting_info=False,
0 commit comments