diff options
author | Matthias Bussonnier <bussonniermatthias@gmail.com> | 2022-01-28 09:04:14 +0100 |
---|---|---|
committer | Matthias Bussonnier <bussonniermatthias@gmail.com> | 2022-01-28 09:05:31 +0100 |
commit | cb915aa65359de875fca3716b14d3ba00e998c26 (patch) | |
tree | bf0dd5181c1a4f078482591bb2ebde68d65eb9df /numpy/lib/npyio.py | |
parent | 8f8e14ef6150100bf2872a449877f97897b18b06 (diff) | |
download | numpy-cb915aa65359de875fca3716b14d3ba00e998c26.tar.gz |
DOC: lib/io.py was renamed to lib/npyio.py
In 44118aedbac7c1c4465443ec23d104a83b9a24f9 (2010), so this docs
examples would raise a `ValueError`.
Diffstat (limited to 'numpy/lib/npyio.py')
-rw-r--r-- | numpy/lib/npyio.py | 2 |
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'] |