Skip to content

Commit cf4573b

Browse files
miss-islingtonaisk
andauthored
[3.14] pythongh-138092: Correct the documented signature of mmap.flush (pythonGH-138671) (python#139202)
pythongh-138092: Correct the documented signature of ``mmap.flush`` (pythonGH-138671) (cherry picked from commit e101f90) Co-authored-by: AN Long <[email protected]>
1 parent ccdc0c9 commit cf4573b

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)