summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2020-06-25 01:10:27 +0300
committerGitHub <noreply@github.com>2020-06-25 01:10:27 +0300
commitc37dc5f1cf5d42ddf05e0cd04a7fc528f30f20e5 (patch)
tree9d42c124ea89e245f6707ebb8b30c99b1381e8f9
parent0b9dcb2edef710bb35f1d5f8848fb5ba97990f7a (diff)
parent63e256cb9b2316ece0e8eb05ea992345a573b190 (diff)
downloadnumpy-c37dc5f1cf5d42ddf05e0cd04a7fc528f30f20e5.tar.gz
Merge pull request #16664 from rossbar/doc/open_memmap
DOC: Add lib.format.open_memmap to autosummary.
-rw-r--r--doc/source/reference/routines.io.rst2
-rw-r--r--numpy/lib/format.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/source/reference/routines.io.rst b/doc/source/reference/routines.io.rst
index cf66eab49..2e119af9a 100644
--- a/doc/source/reference/routines.io.rst
+++ b/doc/source/reference/routines.io.rst
@@ -56,6 +56,7 @@ Memory mapping files
:toctree: generated/
memmap
+ lib.format.open_memmap
Text formatting options
-----------------------
@@ -85,7 +86,6 @@ Data sources
Binary Format Description
-------------------------
.. autosummary::
- :template: autosummary/minimal_module.rst
:toctree: generated/
lib.format
diff --git a/numpy/lib/format.py b/numpy/lib/format.py
index cb2d511af..98c3cb63f 100644
--- a/numpy/lib/format.py
+++ b/numpy/lib/format.py
@@ -820,7 +820,7 @@ def open_memmap(filename, mode='r+', dtype=None, shape=None,
See Also
--------
- memmap
+ numpy.memmap
"""
if isfileobj(filename):