From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sun, 21 Sep 2025 11:05:10 +0000 (+0200) Subject: [3.13] gh-138092: Correct the documented signature of ``mmap.flush`` (GH-138671)... X-Git-Tag: v3.13.8~43 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4df066d0fea7ca96308e08dac1eb551c8f27cc9a;p=thirdparty%2FPython%2Fcpython.git [3.13] gh-138092: Correct the documented signature of ``mmap.flush`` (GH-138671) (#139203) --- diff --git a/Doc/library/mmap.rst b/Doc/library/mmap.rst index 8fca79b23e4e..f78518ac2232 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