summaryrefslogtreecommitdiff
path: root/numpy/core/memmap.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/core/memmap.py')
-rw-r--r--numpy/core/memmap.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/numpy/core/memmap.py b/numpy/core/memmap.py
index 71f5de93c..844e13c4e 100644
--- a/numpy/core/memmap.py
+++ b/numpy/core/memmap.py
@@ -278,11 +278,6 @@ class memmap(ndarray):
if self._mmap is not None:
self._mmap.flush()
- def sync(self):
- """This method is deprecated, use `flush`."""
- warnings.warn("Use ``flush``.", DeprecationWarning)
- self.flush()
-
def _close(self):
"""Close the memmap file. Only do this when deleting the object."""
if self.base is self._mmap:
@@ -292,11 +287,6 @@ class memmap(ndarray):
self._mmap.close()
self._mmap = None
- def close(self):
- """Close the memmap file. Does nothing."""
- warnings.warn("``close`` is deprecated on memmap arrays. Use del",
- DeprecationWarning)
-
def __del__(self):
# We first check if we are the owner of the mmap, rather than
# a view, so deleting a view does not call _close