mirror of
https://github.com/python/cpython.git
synced 2025-12-11 19:40:17 +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
|
* 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
|
that can be used when a seekable file-like object is required.
|
||||||
the :meth:`~mmap.mmap.seek` method return the new absolute position.
|
The :meth:`~mmap.mmap.seek` method now returns the new absolute position.
|
||||||
(Contributed by Donghee Na and Sylvie Liberman in :gh:`111835`.)
|
(Contributed by Donghee Na and Sylvie Liberman in :gh:`111835`.)
|
||||||
* :class:`mmap.mmap` now has a *trackfd* parameter on Unix; if it is ``False``,
|
* :class:`mmap.mmap` now has a *trackfd* parameter on Unix; if it is ``False``,
|
||||||
the file descriptor specified by *fileno* will not be duplicated.
|
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
|
.. section: Library
|
||||||
|
|
||||||
The :class:`mmap.mmap` class now has an :meth:`~mmap.mmap.seekable` method
|
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
|
that can be used when a seekable file-like object is required.
|
||||||
:meth:`~mmap.mmap.seek` method return the new absolute position. Patch by
|
The :meth:`~mmap.mmap.seek` method now returns the new absolute position.
|
||||||
Donghee Na.
|
Patch by Donghee Na.
|
||||||
|
|
||||||
..
|
..
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue