[Python-checkins] cpython (merge 3.3 -> default): merge from 3.3

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


http://hg.python.org/cpython/rev/377bd6e0f61c
changeset: 85655:377bd6e0f61c
parent: 85652:5fb700ca3fd5
parent: 85654:373907ca13e0
user: Senthil Kumaran <senthil at uthcode.com>
date: Mon Sep 09 22:40:13 2013 -0700
summary:
 merge from 3.3
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

AltStyle によって変換されたページ (->オリジナル) /