https://github.com/python/cpython/commit/f4f075b3d5a5b0bc1b13cc27ef2a7de8c103fd04
commit: f4f075b3d5a5b0bc1b13cc27ef2a7de8c103fd04
branch: main
author: Jun Komoda <[email protected]>
committer: encukou <[email protected]>
date: 2024-11-25T13:53:17+01:00
summary:

Replace `:platform:` with `.. availability::` in `socket.ioctl` doc. (GH-127122)

In `socket.ioctl`, `:platform:` -> `.. availability::`

files:
M Doc/library/socket.rst

diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst
index 73d495c055ff6e..58323ba6514eac 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

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to