diff options
author | Senthil Kumaran <senthil@uthcode.com> | 2013-09-10 05:38:58 (GMT) |
---|---|---|
committer | Senthil Kumaran <senthil@uthcode.com> | 2013-09-10 05:38:58 (GMT) |
commit | b65685f3f22d66e4f99abccf56ec54cdcce36c04 (patch) | |
tree | 6696aa3707b50ad6c751e1e66e98b027c75c8509 | |
parent | 8fdd9deb45c316fcd6872de0cc3f5395d3e13161 (diff) | |
download | cpython-b65685f3f22d66e4f99abccf56ec54cdcce36c04.zip cpython-b65685f3f22d66e4f99abccf56ec54cdcce36c04.tar.gz cpython-b65685f3f22d66e4f99abccf56ec54cdcce36c04.tar.bz2 |
Clarify mmap.close method behavior. Addresses issue #18815
Patch contributed by Anoop Thomas Mathew.
-rw-r--r-- | Doc/library/mmap.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/library/mmap.rst b/Doc/library/mmap.rst index 58d00c8..ac1963f 100644 --- a/Doc/library/mmap.rst +++ b/Doc/library/mmap.rst @@ -152,8 +152,9 @@ memory but does not update the underlying file. .. method:: close() - Close the file. Subsequent calls to other methods of the object will - result in an exception being raised. + Closes the mmap. Subsequent calls to other methods of the object will + result in a ValueError exception being raised. This will not close + the open file. .. method:: find(string[, start[, end]]) |