Skip to content

Commit 3a2654d

Browse files
corona10picnixz
andauthored
Apply suggestions from code review
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
1 parent c7185f0 commit 3a2654d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Doc/library/mmap.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -334,9 +334,9 @@ To map anonymous memory, -1 should be passed as the fileno along with the length
334334
in ``/proc/<pid>/maps`` if the kernel supports the feature and :option:`-X dev <-X>` is passed
335335
to the Python or Python is built in :ref:`debug mode <debug-build>`
336336

337-
Availability: Linux kernel 5.17 or newer.
337+
.. availability:: Linux >= 5.17
338338

339-
.. versionadded:: 3.15
339+
.. versionadded:: next
340340

341341
.. method:: size()
342342

Doc/whatsnew/3.15.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,8 @@ mmap
581581
not be duplicated.
582582
(Contributed by Serhiy Storchaka in :gh:`78502`.)
583583

584-
* :meth:`mmap.mmap.set_name` method added to annotation an anonymous memory map
584+
* Added the :meth:`mmap.mmap.set_name` method
585+
to annotate an anonymous memory map
585586
if Linux kernel supports :manpage:`PR_SET_VMA_ANON_NAME <PR_SET_VMA(2const)>` (Linux 5.17 or newer).
586587
(Contributed by Donghee Na in :gh:`142419`.)
587588

0 commit comments

Comments
 (0)