Fix mmap-removal patch

This commit is contained in:
Michael Droettboom 2018-04-25 11:46:04 -04:00
parent 57baae294f
commit ced8597fd2
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ diff -ru pandas-0.22.0.orig/pandas/io/common.py pandas-0.22.0/pandas/io/common.p
+try:
+ from mmap import mmap
+except ImportError:
+ mmap = None
+ mmap = type(None)
from contextlib import contextmanager, closing
from pandas.compat import StringIO, BytesIO, string_types, text_type