Skip to content

Commit 716bd91

Browse files
committed
add not macOS restriction on availabitity of 7 functions from os module
1 parent 11f032f commit 716bd91

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

Doc/library/os.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ process and user.
541541
Return a tuple (ruid, euid, suid) denoting the current process's
542542
real, effective, and saved user ids.
543543

544-
.. availability:: Unix, not WASI.
544+
.. availability:: Unix, not WASI, not macOS.
545545

546546
.. versionadded:: 3.2
547547

@@ -551,7 +551,7 @@ process and user.
551551
Return a tuple (rgid, egid, sgid) denoting the current process's
552552
real, effective, and saved group ids.
553553

554-
.. availability:: Unix, not WASI.
554+
.. availability:: Unix, not WASI, not macOS.
555555

556556
.. versionadded:: 3.2
557557

@@ -725,7 +725,7 @@ process and user.
725725

726726
Set the current process's real, effective, and saved group ids.
727727

728-
.. availability:: Unix, not WASI, not Android.
728+
.. availability:: Unix, not WASI, not Android, not macOS.
729729

730730
.. versionadded:: 3.2
731731

@@ -734,7 +734,7 @@ process and user.
734734

735735
Set the current process's real, effective, and saved user ids.
736736

737-
.. availability:: Unix, not WASI, not Android.
737+
.. availability:: Unix, not WASI, not Android, not macOS.
738738

739739
.. versionadded:: 3.2
740740

@@ -1426,7 +1426,7 @@ or `the MSDN <https://msdn.microsoft.com/en-us/library/z0kc8e3z.aspx>`_ on Windo
14261426
Return a pair of file descriptors ``(r, w)`` usable for reading and writing,
14271427
respectively.
14281428

1429-
.. availability:: Unix, not WASI.
1429+
.. availability:: Unix, not WASI, not macOS.
14301430

14311431
.. versionadded:: 3.3
14321432

@@ -1436,7 +1436,7 @@ or `the MSDN <https://msdn.microsoft.com/en-us/library/z0kc8e3z.aspx>`_ on Windo
14361436
Ensures that enough disk space is allocated for the file specified by *fd*
14371437
starting from *offset* and continuing for *len* bytes.
14381438

1439-
.. availability:: Unix.
1439+
.. availability:: Unix, not macOS.
14401440

14411441
.. versionadded:: 3.3
14421442

@@ -1451,7 +1451,7 @@ or `the MSDN <https://msdn.microsoft.com/en-us/library/z0kc8e3z.aspx>`_ on Windo
14511451
:data:`POSIX_FADV_RANDOM`, :data:`POSIX_FADV_NOREUSE`,
14521452
:data:`POSIX_FADV_WILLNEED` or :data:`POSIX_FADV_DONTNEED`.
14531453

1454-
.. availability:: Unix.
1454+
.. availability:: Unix, not macOS.
14551455

14561456
.. versionadded:: 3.3
14571457

0 commit comments

Comments
 (0)