Skip to content

Commit 4df066d

Browse files
[3.13] gh-138092: Correct the documented signature of mmap.flush (GH-138671) (#139203)
1 parent eadcf4d commit 4df066d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Doc/library/mmap.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,8 @@ To map anonymous memory, -1 should be passed as the fileno along with the length
200200
Writable :term:`bytes-like object` is now accepted.
201201

202202

203-
.. method:: flush([offset[, size]])
203+
.. method:: flush()
204+
flush(offset, size, /)
204205

205206
Flushes changes made to the in-memory copy of a file back to disk. Without
206207
use of this call there is no guarantee that changes are written back before

0 commit comments

Comments
 (0)