[Python-checkins] cpython (3.3): Clarify mmap.close method behavior. Addresses issue #18815

senthil.kumaran python-checkins at python.org
Tue Sep 10 07:40:23 CEST 2013


http://hg.python.org/cpython/rev/373907ca13e0
changeset:   85654:373907ca13e0
branch:      3.3
parent:      85651:fe5c03fb0ff6
user:        Senthil Kumaran <senthil at uthcode.com>
date:        Mon Sep 09 22:39:28 2013 -0700
summary:
  Clarify mmap.close method  behavior.  Addresses issue  #18815
Patch contributed by Anoop Thomas Mathew.

files:
  Doc/library/mmap.rst |  5 +++--
  1 files changed, 3 insertions(+), 2 deletions(-)


diff --git a/Doc/library/mmap.rst b/Doc/library/mmap.rst
--- a/Doc/library/mmap.rst
+++ b/Doc/library/mmap.rst
@@ -155,8 +155,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.
 
 
    .. attribute:: closed

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list