diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2018-05-13 08:36:08 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-13 08:36:08 -0600 |
commit | 896363f962c2c7f2275b38407666525fc344e4d8 (patch) | |
tree | e8e8a0e3ed4de8fa6550b12d783a4098b1264728 /numpy/lib/npyio.py | |
parent | b4c42a553f5954e58ab2aef5fe33ceb5fc970e0a (diff) | |
parent | 85282a5dac927ed731655e0a58fb67d2483f18b9 (diff) | |
download | numpy-896363f962c2c7f2275b38407666525fc344e4d8.tar.gz |
Merge pull request #11082 from mattip/fix-11080
DOC: link to updated module docstring, not NEP
Diffstat (limited to 'numpy/lib/npyio.py')
-rw-r--r-- | numpy/lib/npyio.py | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/numpy/lib/npyio.py b/numpy/lib/npyio.py index 76cc07ff1..5d3c1e525 100644 --- a/numpy/lib/npyio.py +++ b/numpy/lib/npyio.py @@ -475,9 +475,7 @@ def save(file, arr, allow_pickle=True, fix_imports=True): Notes ----- - For a description of the ``.npy`` format, see the module docstring - of `numpy.lib.format` or the NumPy Enhancement Proposal - http://numpy.github.io/neps/npy-format.html + For a description of the ``.npy`` format, see :py:mod:`numpy.lib.format` Examples -------- @@ -561,9 +559,7 @@ def savez(file, *args, **kwds): The ``.npz`` file format is a zipped archive of files named after the variables they contain. The archive is not compressed and each file in the archive contains one variable in ``.npy`` format. For a - description of the ``.npy`` format, see `numpy.lib.format` or the - NumPy Enhancement Proposal - http://numpy.github.io/neps/npy-format.html + description of the ``.npy`` format, see :py:mod:`numpy.lib.format` When opening the saved ``.npz`` file with `load` a `NpzFile` object is returned. This is a dictionary-like object which can be queried for @@ -642,9 +638,9 @@ def savez_compressed(file, *args, **kwds): The ``.npz`` file format is a zipped archive of files named after the variables they contain. The archive is compressed with ``zipfile.ZIP_DEFLATED`` and each file in the archive contains one variable - in ``.npy`` format. For a description of the ``.npy`` format, see - `numpy.lib.format` or the NumPy Enhancement Proposal - http://numpy.github.io/neps/npy-format.html + in ``.npy`` format. For a description of the ``.npy`` format, see + :py:mod:`numpy.lib.format` + When opening the saved ``.npz`` file with `load` a `NpzFile` object is returned. This is a dictionary-like object which can be queried for |