summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorJun Komoda <45822440+junkmd@users.noreply.github.com>2024-11-25 12:53:17 (GMT)
committerGitHub <noreply@github.com>2024-11-25 12:53:17 (GMT)
commitf4f075b3d5a5b0bc1b13cc27ef2a7de8c103fd04 (patch)
tree23f58231b8bd7a8331e45346808400e04f73f61e /Doc/library
parentc595eae84c7f665eced09ce67a1ad83b7574d6e5 (diff)
downloadcpython-f4f075b3d5a5b0bc1b13cc27ef2a7de8c103fd04.zip
cpython-f4f075b3d5a5b0bc1b13cc27ef2a7de8c103fd04.tar.gz
cpython-f4f075b3d5a5b0bc1b13cc27ef2a7de8c103fd04.tar.bz2
Replace `:platform:` with `.. availability::` in `socket.ioctl` doc. (GH-127122)
In `socket.ioctl`, `:platform:` -> `.. availability::`
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/socket.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst
index 73d495c..58323ba 100644
--- a/Doc/library/socket.rst
+++ b/Doc/library/socket.rst
@@ -1596,8 +1596,6 @@ to sockets.
.. method:: socket.ioctl(control, option)
- :platform: Windows
-
The :meth:`ioctl` method is a limited interface to the WSAIoctl system
interface. Please refer to the `Win32 documentation
<https://msdn.microsoft.com/en-us/library/ms741621%28VS.85%29.aspx>`_ for more
@@ -1609,9 +1607,12 @@ to sockets.
Currently only the following control codes are supported:
``SIO_RCVALL``, ``SIO_KEEPALIVE_VALS``, and ``SIO_LOOPBACK_FAST_PATH``.
+ .. availability:: Windows
+
.. versionchanged:: 3.6
``SIO_LOOPBACK_FAST_PATH`` was added.
+
.. method:: socket.listen([backlog])
Enable a server to accept connections. If *backlog* is specified, it must