[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:
Miss Islington (bot) 2025-09-21 22:24:10 +02:00 committed by GitHub
parent ccdc0c9992
commit cf4573b51e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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. 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 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 use of this call there is no guarantee that changes are written back before