summaryrefslogtreecommitdiff
path: root/numpy/lib/npyio.py
diff options
context:
space:
mode:
authormattip <matti.picus@gmail.com>2018-05-13 20:28:27 +0300
committermattip <matti.picus@gmail.com>2018-05-13 20:28:27 +0300
commitc759466acbcb2c8ce6cce0ae971ba4ada8055a7a (patch)
tree50e4ff799eb486140f439cc0e0b75465a34aeb6d /numpy/lib/npyio.py
parent85282a5dac927ed731655e0a58fb67d2483f18b9 (diff)
downloadnumpy-c759466acbcb2c8ce6cce0ae971ba4ada8055a7a.tar.gz
DOC: create label and ref, fixes broken link
Diffstat (limited to 'numpy/lib/npyio.py')
-rw-r--r--numpy/lib/npyio.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/lib/npyio.py b/numpy/lib/npyio.py
index 5d3c1e525..95804be7f 100644
--- a/numpy/lib/npyio.py
+++ b/numpy/lib/npyio.py
@@ -475,7 +475,7 @@ def save(file, arr, allow_pickle=True, fix_imports=True):
Notes
-----
- For a description of the ``.npy`` format, see :py:mod:`numpy.lib.format`
+ For a description of the ``.npy`` format, see :ref:`binary-serialization`.
Examples
--------
@@ -559,7 +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 :py:mod:`numpy.lib.format`
+ description of the ``.npy`` format, see :ref:`binary-serialization`.
When opening the saved ``.npz`` file with `load` a `NpzFile` object is
returned. This is a dictionary-like object which can be queried for
@@ -639,7 +639,7 @@ def savez_compressed(file, *args, **kwds):
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
- :py:mod:`numpy.lib.format`
+ :ref:`binary-serialization`.
When opening the saved ``.npz`` file with `load` a `NpzFile` object is