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

This commit is contained in:
Jeroen Ruigrok van der Werven 2008-04-16 12:57:43 +00:00
parent 069dfad2af
commit 967a83c4ef
1 changed files with 6 additions and 0 deletions

View 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)