Skip to content

Commit 95ce088

Browse files
committed
Update related document
1 parent a251dea commit 95ce088

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Doc/library/mmap.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,8 @@ To map anonymous memory, -1 should be passed as the fileno along with the length
277277
pagefile) will silently create a new map with the original data copied over
278278
up to the length of the new size.
279279

280+
.. availability:: Systems with the ``madvise`` system call or Windows.
281+
280282
.. versionchanged:: 3.11
281283
Correctly fails if attempting to resize when another map is held
282284
Allows resize against an anonymous map on Windows
@@ -375,7 +377,7 @@ MADV_* Constants
375377
These options can be passed to :meth:`mmap.madvise`. Not every option will
376378
be present on every system.
377379

378-
Availability: Systems with the madvise() system call.
380+
.. availability:: Systems with the ``madvise`` system call.
379381

380382
.. versionadded:: 3.8
381383

0 commit comments

Comments
 (0)