Skip to content

Commit ebc837d

Browse files
committed
Update mmap.rst
1 parent 7e69d94 commit ebc837d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Doc/library/mmap.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,11 @@ To map anonymous memory, -1 should be passed as the fileno along with the length
285285
values are ``os.SEEK_CUR`` or ``1`` (seek relative to the current
286286
position) and ``os.SEEK_END`` or ``2`` (seek relative to the file's end).
287287

288+
.. method:: seekable()
289+
290+
Return whether the file supports seeking.
291+
292+
.. versionadded:: 3.13
288293

289294
.. method:: size()
290295

0 commit comments

Comments
 (0)