]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-122153: indicate that Windows does not support `socket.{send,recv}_fds` (#134960)
authorGalaxySnail <me@glxys.nl>
Mon, 2 Jun 2025 10:23:52 +0000 (18:23 +0800)
committerGitHub <noreply@github.com>
Mon, 2 Jun 2025 10:23:52 +0000 (12:23 +0200)
This amends commit e3b6ff19aaa318a813130ba9ad2ab0a332f27feb.

Doc/library/socket.rst

index 75fd637045d7d86bef82912f127d3edfdf089b6e..bc89a3228f0ed9e56c01e84d7832b5972bdedd86 100644 (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