Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add additional markers for unsupported features on Android
  • Loading branch information
mhsmith committed Sep 19, 2024
commit 2e08c09e48e7682443dbd50bfd5f6a7c759b0953
20 changes: 10 additions & 10 deletions Doc/library/os.rst
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ process and user.
the groups of which the specified username is a member, plus the specified
group id.

.. availability:: Unix, not WASI.
.. availability:: Unix, not WASI, not Android.

.. versionadded:: 3.2

Expand Down Expand Up @@ -585,21 +585,21 @@ process and user.

Set the current process's effective group id.

.. availability:: Unix, not WASI.
.. availability:: Unix, not WASI, not Android.


.. function:: seteuid(euid, /)

Set the current process's effective user id.

.. availability:: Unix, not WASI.
.. availability:: Unix, not WASI, not Android.


.. function:: setgid(gid, /)

Set the current process' group id.

.. availability:: Unix, not WASI.
.. availability:: Unix, not WASI, not Android.


.. function:: setgroups(groups, /)
Expand Down Expand Up @@ -693,14 +693,14 @@ process and user.

Set the current process's real and effective group ids.

.. availability:: Unix, not WASI.
.. availability:: Unix, not WASI, not Android.


.. function:: setresgid(rgid, egid, sgid, /)

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

.. availability:: Unix, not WASI.
.. availability:: Unix, not WASI, not Android.

.. versionadded:: 3.2

Expand All @@ -709,7 +709,7 @@ process and user.

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

.. availability:: Unix, not WASI.
.. availability:: Unix, not WASI, not Android.

.. versionadded:: 3.2

Expand All @@ -718,7 +718,7 @@ process and user.

Set the current process's real and effective user ids.

.. availability:: Unix, not WASI.
.. availability:: Unix, not WASI, not Android.


.. function:: getsid(pid, /)
Expand All @@ -741,7 +741,7 @@ process and user.

Set the current process's user id.

.. availability:: Unix, not WASI.
.. availability:: Unix, not WASI, not Android.


.. placed in this section since it relates to errno.... a little weak
Expand Down Expand Up @@ -2208,7 +2208,7 @@ features:

Change the root directory of the current process to *path*.

.. availability:: Unix, not WASI.
.. availability:: Unix, not WASI, not Android.

.. versionchanged:: 3.6
Accepts a :term:`path-like object`.
Expand Down
2 changes: 1 addition & 1 deletion Doc/library/socket.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1280,7 +1280,7 @@ The :mod:`socket` module also offers various network-related services:

.. audit-event:: socket.sethostname name socket.sethostname

.. availability:: Unix.
.. availability:: Unix, not Android.

.. versionadded:: 3.3

Expand Down
4 changes: 2 additions & 2 deletions Doc/library/time.rst
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ Functions
Use :func:`clock_settime_ns` to avoid the precision loss caused by the
:class:`float` type.

.. availability:: Unix.
.. availability:: Unix, not Android, not iOS.

.. versionadded:: 3.3

Expand All @@ -202,7 +202,7 @@ Functions

Similar to :func:`clock_settime` but set time with nanoseconds.

.. availability:: Unix.
.. availability:: Unix, not Android, not iOS.

.. versionadded:: 3.7

Expand Down
2 changes: 1 addition & 1 deletion Doc/library/webbrowser.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ The options are, naturally, mutually exclusive. Usage example::

python -m webbrowser -t "https://www.python.org"

.. include:: ../includes/wasm-notavail.rst
.. availability:: not WASI, not Android.

The following exception is defined:

Expand Down