mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
[3.14] gh-138092: Correct the documented signature of `mmap.flush` (GH-138671) (#139202)
gh-138092: Correct the documented signature of ``mmap.flush`` (GH-138671)
(cherry picked from commit e101f907dc)
Co-authored-by: AN Long <aisk@users.noreply.github.com>
This commit is contained in:
parent
ccdc0c9992
commit
cf4573b51e
1 changed files with 2 additions and 1 deletions
|
|
@ -200,7 +200,8 @@ To map anonymous memory, -1 should be passed as the fileno along with the length
|
|||
Writable :term:`bytes-like object` is now accepted.
|
||||
|
||||
|
||||
.. method:: flush([offset[, size]])
|
||||
.. method:: flush()
|
||||
flush(offset, size, /)
|
||||
|
||||
Flushes changes made to the in-memory copy of a file back to disk. Without
|
||||
use of this call there is no guarantee that changes are written back before
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue