Skip to content

Commit 4f94825

Browse files
committed
Correct the signature of mmap.flush in document
1 parent 4f0c267 commit 4f94825

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)