]> granicus.if.org Git - python/commitdiff
Add details about the return value for mmap.flush().
authorJeroen Ruigrok van der Werven <asmodai@in-nomine.org>
Wed, 16 Apr 2008 12:57:43 +0000 (12:57 +0000)
committerJeroen Ruigrok van der Werven <asmodai@in-nomine.org>
Wed, 16 Apr 2008 12:57:43 +0000 (12:57 +0000)
Doc/library/mmap.rst

index ca0a2eb6ef13ee86330c0a7db162ee9eb103f537..d2a6d1e4b484cf8eedbacc391a28b35ec5c8d7e3 100644 (file)
@@ -162,6 +162,12 @@ Memory-mapped file objects support the following methods:
    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)