From b65685f3f22d66e4f99abccf56ec54cdcce36c04 Mon Sep 17 00:00:00 2001 From: Senthil Kumaran Date: Mon, 9 Sep 2013 22:38:58 -0700 Subject: [PATCH] Clarify mmap.close method behavior. Addresses issue #18815 Patch contributed by Anoop Thomas Mathew. --- Doc/library/mmap.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Doc/library/mmap.rst b/Doc/library/mmap.rst index 58d00c81ca..ac1963f5bb 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]]) -- 2.50.1