Skip to content

Commit e101f90

Browse files
authored
gh-138092: Correct the documented signature of mmap.flush (#138671)
1 parent 848d926 commit e101f90

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
@@ -212,7 +212,8 @@ To map anonymous memory, -1 should be passed as the fileno along with the length
212212
Writable :term:`bytes-like object` is now accepted.
213213

214214

215-
.. method:: flush([offset[, size]])
215+
.. method:: flush()
216+
flush(offset, size, /)
216217

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

0 commit comments

Comments
 (0)