mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Add details about the return value for mmap.flush().
This commit is contained in:
parent
069dfad2af
commit
967a83c4ef
1 changed files with 6 additions and 0 deletions
|
@ -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
|
changes to the given range of bytes will be flushed to disk; otherwise, the
|
||||||
whole extent of the mapping is flushed.
|
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)
|
.. method:: mmap.move(dest, src, count)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue