mirror of
https://github.com/python/cpython.git
synced 2025-12-10 02:50:09 +00:00
gh-114364: Fix awkward wording about mmap.mmap.seekable (#114374)
--------- Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
This commit is contained in:
parent
57c3e775df
commit
5ce193e65a
2 changed files with 5 additions and 5 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
||||
..
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue