diff options
author | Jeroen Ruigrok van der Werven <asmodai@in-nomine.org> | 2008-04-16 12:57:43 (GMT) |
---|---|---|
committer | Jeroen Ruigrok van der Werven <asmodai@in-nomine.org> | 2008-04-16 12:57:43 (GMT) |
commit | 967a83c4efdbd32f24763bc90afabcfe3d76f4b6 (patch) | |
tree | c058f4f250d22b466b81caff5be9ab516a127800 /Doc/library/mmap.rst | |
parent | 069dfad2af1474ac2c0c9ac8f513c45bf5ea47c0 (diff) | |
download | cpython-967a83c4efdbd32f24763bc90afabcfe3d76f4b6.zip cpython-967a83c4efdbd32f24763bc90afabcfe3d76f4b6.tar.gz cpython-967a83c4efdbd32f24763bc90afabcfe3d76f4b6.tar.bz2 |
Add details about the return value for mmap.flush().
Diffstat (limited to 'Doc/library/mmap.rst')
-rw-r--r-- | Doc/library/mmap.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/library/mmap.rst b/Doc/library/mmap.rst index ca0a2eb..d2a6d1e 100644 --- a/Doc/library/mmap.rst +++ b/Doc/library/mmap.rst @@ -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) |