Skip to content

Commit cc3cf8a

Browse files
corona10picnixz
andauthored
Update Doc/library/mmap.rst
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
1 parent 3a2654d commit cc3cf8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/mmap.rst

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

329329
.. versionadded:: 3.13
330330

331-
.. method:: set_name(name)
331+
.. method:: set_name(name, /)
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

0 commit comments

Comments
 (0)