summaryrefslogtreecommitdiff
path: root/numpy/lib/npyio.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/lib/npyio.py')
-rw-r--r--numpy/lib/npyio.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/lib/npyio.py b/numpy/lib/npyio.py
index de6214c02..63b7e8df7 100644
--- a/numpy/lib/npyio.py
+++ b/numpy/lib/npyio.py
@@ -122,11 +122,11 @@ class BagObj(object):
return object.__getattribute__(self, '_obj')[key]
except KeyError:
raise AttributeError(key)
-
+
def __dir__(self):
"""
Enables dir(bagobj) to list the files in an NpzFile.
-
+
This also enables tab-completion in an interpreter or IPython.
"""
return object.__getattribute__(self, '_obj').keys()