summaryrefslogtreecommitdiff
path: root/numpy/lib/io.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/lib/io.py')
-rw-r--r--numpy/lib/io.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/io.py b/numpy/lib/io.py
index 262d20dd9..7d2ac1c0e 100644
--- a/numpy/lib/io.py
+++ b/numpy/lib/io.py
@@ -23,7 +23,7 @@ from _iotools import LineSplitter, NameValidator, StringConverter, \
_is_string_like, has_nested_fields, flatten_dtype, \
easy_dtype
-_file = file
+_file = open
_string_like = _is_string_like
def seek_gzip_factory(f):