diff options
author | Travis Oliphant <oliphant@enthought.com> | 2006-01-06 10:14:10 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2006-01-06 10:14:10 +0000 |
commit | 6315c4c27eaeca7f2080ea585b1901e2b683b3ff (patch) | |
tree | 2777bf768a4fb125ad3ceb1940f46f70ad4e2d51 /numpy/core/memmap.py | |
parent | 5f5c4b92573a060d20cf9bbf70db00d45cda7268 (diff) | |
download | numpy-6315c4c27eaeca7f2080ea585b1901e2b683b3ff.tar.gz |
Added new feature to .view method so that if the argument is a sub-type of the ndarray, an object is returned with all the information of the array.
Diffstat (limited to 'numpy/core/memmap.py')
-rw-r--r-- | numpy/core/memmap.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/numpy/core/memmap.py b/numpy/core/memmap.py index 8a791e5aa..e9eb7241f 100644 --- a/numpy/core/memmap.py +++ b/numpy/core/memmap.py @@ -74,7 +74,6 @@ class memmap(ndarray): self._mode = mode self._size = size self._name = name - fid.close() return self @@ -85,4 +84,3 @@ class memmap(ndarray): self._mmap.flush() del self._mmap - |