summaryrefslogtreecommitdiffstats
path: root/Doc/library/mmap.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/mmap.rst')
-rw-r--r--Doc/library/mmap.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/library/mmap.rst b/Doc/library/mmap.rst
index 4ca7a64..3fa69e7 100644
--- a/Doc/library/mmap.rst
+++ b/Doc/library/mmap.rst
@@ -285,6 +285,14 @@ To map anonymous memory, -1 should be passed as the fileno along with the length
values are ``os.SEEK_CUR`` or ``1`` (seek relative to the current
position) and ``os.SEEK_END`` or ``2`` (seek relative to the file's end).
+ .. versionchanged:: 3.13
+ Return the new absolute position instead of ``None``.
+
+ .. method:: seekable()
+
+ Return whether the file supports seeking, and the return value is always ``True``.
+
+ .. versionadded:: 3.13
.. method:: size()