(original) (raw)

changeset: 85653:443d12b61e5b branch: 2.7 parent: 85639:740bd510a888 user: Senthil Kumaran senthil@uthcode.com date: Mon Sep 09 22:38:58 2013 -0700 files: Doc/library/mmap.rst description: Clarify mmap.close method behavior. Addresses issue #18815 Patch contributed by Anoop Thomas Mathew. diff -r 740bd510a888 -r 443d12b61e5b Doc/library/mmap.rst --- a/Doc/library/mmap.rst Mon Sep 09 10:32:08 2013 +0100 +++ b/Doc/library/mmap.rst Mon Sep 09 22:38:58 2013 -0700 @@ -152,8 +152,9 @@ .. 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]]) /senthil@uthcode.com