Skip to content

Commit a9df12f

Browse files
corona10vstinner
andauthored
Apply suggestions from code review
Co-authored-by: Victor Stinner <vstinner@python.org>
1 parent 94d0268 commit a9df12f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Doc/library/mmap.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ To map anonymous memory, -1 should be passed as the fileno along with the length
332332

333333
Annotate the memory map with the given *name* for easier identification
334334
in ``/proc/<pid>/maps`` if the kernel supports the feature and :option:`-X dev <-X>` is passed
335-
to the Python or Python is built in :ref:`debug mode <debug-build>`
335+
to Python or if Python is built in :ref:`debug mode <debug-build>`
336336
The length of *name* must not exceed 67 bytes.
337337

338338
.. availability:: Linux >= 5.17
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
:meth:`mmap.mmap.set_name` method added to annotation an anonymous memory map
1+
:meth:`mmap.mmap.set_name` method added to annotate an anonymous memory map
22
if Linux kernel supports ``PR_SET_VMA_ANON_NAME`` (Linux 5.17 or newer).
33
Patch by Donghee Na.

0 commit comments

Comments
 (0)