summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2014-02-18 22:46:07 -0700
committerCharles Harris <charlesr.harris@gmail.com>2014-02-18 22:46:07 -0700
commit8a38f647215acc63bc2e953103f5d649a7c093f9 (patch)
tree1023de6fb5f7e96fa797c012ef5a888a9ddf67cb
parent2868dc4a0513f58eafc013f3ba3d84ae07113199 (diff)
downloadnumpy-8a38f647215acc63bc2e953103f5d649a7c093f9.tar.gz
DOC: Remove close method from memmap docstring.
Memmap objects no longer have a close method.
-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