From f41206cecdc71985ee642028c667b03131b3bb3c Mon Sep 17 00:00:00 2001 From: GalaxySnail Date: Mon, 2 Jun 2025 18:23:52 +0800 Subject: [PATCH] [3.13] gh-122153: indicate that Windows does not support `socket.{send,recv}_fds` (GH-134960) This amends commit e3b6ff19aaa318a813130ba9ad2ab0a332f27feb. (cherry picked from commit 128195e12eb6d5b9542558453df7045dd7aa1e15) Co-authored-by: GalaxySnail --- Doc/library/socket.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst index 9df9326c0b958d..e5a2815d12f58d 100644 --- a/Doc/library/socket.rst +++ b/Doc/library/socket.rst @@ -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