[Python-checkins] r62359 - python/trunk/Doc/library/mmap.rst

jeroen.ruigrok python-checkins at python.org
Wed Apr 16 14:57:43 CEST 2008


Author: jeroen.ruigrok
Date: Wed Apr 16 14:57:43 2008
New Revision: 62359

Log:
Add details about the return value for mmap.flush().


Modified:
   python/trunk/Doc/library/mmap.rst

Modified: python/trunk/Doc/library/mmap.rst
==============================================================================
--- python/trunk/Doc/library/mmap.rst	(original)
+++ python/trunk/Doc/library/mmap.rst	Wed Apr 16 14:57:43 2008
@@ -162,6 +162,12 @@
    changes to the given range of bytes will be flushed to disk; otherwise, the
    whole extent of the mapping is flushed.
 
+   **(Windows version)** A nonzero value returned indicates success; zero
+   indicates failure.
+
+   **(Unix version)** A zero value is returned to indicate success. An
+   exception is raised when the call failed.
+
 
 .. method:: mmap.move(dest, src, count)
 


More information about the Python-checkins mailing list