cpython: 377bd6e0f61c (original) (raw)
Mercurial > cpython
changeset 85655:377bd6e0f61c
merge from 3.3 Clarify mmap.close method behavior. Addresses issue #18815 Patch contributed by Anoop Thomas Mathew. [#18815]
Senthil Kumaran senthil@uthcode.com | |
---|---|
date | Mon, 09 Sep 2013 22:40:13 -0700 |
parents | 5fb700ca3fd5(current diff)373907ca13e0(diff) |
children | 0e70bf1f32a3 15096b93ae5a |
files | |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-)[+] [-] Doc/library/mmap.rst 5 |
line wrap: on
line diff
--- a/Doc/library/mmap.rst +++ b/Doc/library/mmap.rst @@ -155,8 +155,9 @@ To map anonymous memory, -1 should be pa .. method:: close()
Close the file. Subsequent calls to other methods of the object will[](#l1.7)
result in an exception being raised.[](#l1.8)
Closes the mmap. Subsequent calls to other methods of the object will[](#l1.9)
result in a ValueError exception being raised. This will not close[](#l1.10)
the open file.[](#l1.11)