]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] gh-122153: indicate that Windows does not support `socket.{send,recv}_fds...
authorBénédikt Tran <10796600+picnixz@users.noreply.github.com>
Mon, 2 Jun 2025 10:44:39 +0000 (12:44 +0200)
committerGitHub <noreply@github.com>
Mon, 2 Jun 2025 10:44:39 +0000 (10:44 +0000)
This amends commit e3b6ff19aaa318a813130ba9ad2ab0a332f27feb.
(cherry picked from commit 128195e12eb6d5b9542558453df7045dd7aa1e15)

Co-authored-by: GalaxySnail <me@glxys.nl>
Doc/library/socket.rst

index 9df9326c0b958d414caf5cf6c3fdd92a3710b43e..e5a2815d12f58db1195bf59ce8735eb05ec0ab29 100644 (file)
@@ -1380,7 +1380,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.
@@ -1394,9 +1394,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