gh-122153: indicate that Windows does not support socket.{send,recv}_fds (#134960)

This amends commit e3b6ff19aa.
This commit is contained in:
GalaxySnail 2025-06-02 18:23:52 +08:00 committed by GitHub
parent 7828d52680
commit 128195e12e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1492,7 +1492,7 @@ The :mod:`socket` module also offers various network-related services:
The *fds* parameter is a sequence of file descriptors.
Consult :meth:`~socket.sendmsg` for the documentation of these parameters.
.. availability:: Unix, Windows, not WASI.
.. availability:: Unix, not WASI.
Unix platforms supporting :meth:`~socket.sendmsg`
and :const:`SCM_RIGHTS` mechanism.
@ -1506,9 +1506,9 @@ The :mod:`socket` module also offers various network-related services:
Return ``(msg, list(fds), flags, addr)``.
Consult :meth:`~socket.recvmsg` for the documentation of these parameters.
.. availability:: Unix, Windows, not WASI.
.. availability:: Unix, not WASI.
Unix platforms supporting :meth:`~socket.sendmsg`
Unix platforms supporting :meth:`~socket.recvmsg`
and :const:`SCM_RIGHTS` mechanism.
.. versionadded:: 3.9