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.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/npyio.py b/numpy/lib/npyio.py
index bbf896bda..6818ef81d 100644
--- a/numpy/lib/npyio.py
+++ b/numpy/lib/npyio.py
@@ -157,7 +157,7 @@ class NpzFile(Mapping):
>>> _ = outfile.seek(0)
>>> npz = np.load(outfile)
- >>> isinstance(npz, np.lib.io.NpzFile)
+ >>> isinstance(npz, np.lib.npyio.NpzFile)
True
>>> sorted(npz.files)
['x', 'y']