https://github.com/python/cpython/commit/4df066d0fea7ca96308e08dac1eb551c8f27cc9a
commit: 4df066d0fea7ca96308e08dac1eb551c8f27cc9a
branch: 3.13
author: Miss Islington (bot) <[email protected]>
committer: AA-Turner <[email protected]>
date: 2025-09-21T11:05:10Z
summary:

[3.13] gh-138092: Correct the documented signature of ``mmap.flush`` 
(GH-138671) (#139203)

files:
M Doc/library/mmap.rst

diff --git a/Doc/library/mmap.rst b/Doc/library/mmap.rst
index 8fca79b23e4e15..f78518ac2232a0 100644
--- a/Doc/library/mmap.rst
+++ b/Doc/library/mmap.rst
@@ -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

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to