Skip to content

Commit

Permalink
pythongh-114364: Fix awkward wording about mmap.mmap.seekable (python…
Browse files Browse the repository at this point in the history
…#114374)

---------
Co-authored-by: Kirill Podoprigora <[email protected]>
Co-authored-by: Terry Jan Reedy <[email protected]>
Co-authored-by: Erlend E. Aasland <[email protected]>
  • Loading branch information
technillogue authored Feb 1, 2024
1 parent 57c3e77 commit 5ce193e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Doc/whatsnew/3.13.rst
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,8 @@ mmap
----

* The :class:`mmap.mmap` class now has an :meth:`~mmap.mmap.seekable` method
that can be used where it requires a file-like object with seekable and
the :meth:`~mmap.mmap.seek` method return the new absolute position.
that can be used when a seekable file-like object is required.
The :meth:`~mmap.mmap.seek` method now returns the new absolute position.
(Contributed by Donghee Na and Sylvie Liberman in :gh:`111835`.)
* :class:`mmap.mmap` now has a *trackfd* parameter on Unix; if it is ``False``,
the file descriptor specified by *fileno* will not be duplicated.
Expand Down
6 changes: 3 additions & 3 deletions Misc/NEWS.d/3.13.0a2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -565,9 +565,9 @@ part of a :exc:`BaseExceptionGroup`, in addition to the recent support for
.. section: Library
The :class:`mmap.mmap` class now has an :meth:`~mmap.mmap.seekable` method
that can be used where it requires a file-like object with seekable and the
:meth:`~mmap.mmap.seek` method return the new absolute position. Patch by
Donghee Na.
that can be used when a seekable file-like object is required.
The :meth:`~mmap.mmap.seek` method now returns the new absolute position.
Patch by Donghee Na.

..
Expand Down

0 comments on commit 5ce193e

Please sign in to comment.