summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorseberg <sebastian@sipsolutions.net>2014-02-19 14:33:55 +0100
committerseberg <sebastian@sipsolutions.net>2014-02-19 14:33:55 +0100
commit8997167e0de90b7132787ff869ba7988783bb133 (patch)
treebabb6b583a92823670a9c7618dde7f9d726dbc00
parentb5b47b144c78351f49b46731ccdb0de6ddf1276d (diff)
parent8a38f647215acc63bc2e953103f5d649a7c093f9 (diff)
downloadnumpy-8997167e0de90b7132787ff869ba7988783bb133.tar.gz
Merge pull request #4325 from charris/memmap-has-no-close
DOC: Remove close method from memmap docstring.
-rw-r--r--numpy/core/memmap.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/numpy/core/memmap.py b/numpy/core/memmap.py
index 4e0c194f3..b1c96ee29 100644
--- a/numpy/core/memmap.py
+++ b/numpy/core/memmap.py
@@ -38,6 +38,9 @@ class memmap(ndarray):
This class may at some point be turned into a factory function
which returns a view into an mmap buffer.
+ Delete the memmap instance to close.
+
+
Parameters
----------
filename : str or file-like object
@@ -91,8 +94,6 @@ class memmap(ndarray):
Methods
-------
- close
- Close the memmap file.
flush
Flush any changes in memory to file on disk.
When you delete a memmap object, flush is called first to write