Skip to content

Commit f4f075b

Browse files
authored
Replace :platform: with .. availability:: in socket.ioctl doc. (GH-127122)
In `socket.ioctl`, `:platform:` -> `.. availability::`
1 parent c595eae commit f4f075b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Doc/library/socket.rst

+3-2
Original file line numberDiff line numberDiff line change
@@ -1596,8 +1596,6 @@ to sockets.
15961596

15971597
.. method:: socket.ioctl(control, option)
15981598

1599-
:platform: Windows
1600-
16011599
The :meth:`ioctl` method is a limited interface to the WSAIoctl system
16021600
interface. Please refer to the `Win32 documentation
16031601
<https://msdn.microsoft.com/en-us/library/ms741621%28VS.85%29.aspx>`_ for more
@@ -1609,9 +1607,12 @@ to sockets.
16091607
Currently only the following control codes are supported:
16101608
``SIO_RCVALL``, ``SIO_KEEPALIVE_VALS``, and ``SIO_LOOPBACK_FAST_PATH``.
16111609

1610+
.. availability:: Windows
1611+
16121612
.. versionchanged:: 3.6
16131613
``SIO_LOOPBACK_FAST_PATH`` was added.
16141614

1615+
16151616
.. method:: socket.listen([backlog])
16161617

16171618
Enable a server to accept connections. If *backlog* is specified, it must

0 commit comments

Comments
 (0)