@@ -1618,25 +1618,6 @@ or `the MSDN <https://msdn.microsoft.com/en-us/library/z0kc8e3z.aspx>`_ on Windo
1618
1618
Parameters *out * and *in * was renamed to *out_fd * and *in_fd *.
1619
1619
1620
1620
1621
- .. function :: set_blocking(fd, blocking, /)
1622
-
1623
- Set the blocking mode of the specified file descriptor. Set the
1624
- :data: `O_NONBLOCK ` flag if blocking is ``False ``, clear the flag otherwise.
1625
-
1626
- See also :func: `get_blocking ` and :meth: `socket.socket.setblocking `.
1627
-
1628
- .. availability :: Unix, Windows.
1629
-
1630
- The function is limited on Emscripten and WASI, see
1631
- :ref: `wasm-availability ` for more information.
1632
-
1633
- On Windows, this function is limited to pipes.
1634
-
1635
- .. versionadded :: 3.5
1636
-
1637
- .. versionchanged :: 3.12
1638
- Added support for pipes on Windows.
1639
-
1640
1621
.. data :: SF_NODISKIO
1641
1622
SF_MNOWAIT
1642
1623
SF_SYNC
@@ -1658,6 +1639,26 @@ or `the MSDN <https://msdn.microsoft.com/en-us/library/z0kc8e3z.aspx>`_ on Windo
1658
1639
.. versionadded :: 3.11
1659
1640
1660
1641
1642
+ .. function :: set_blocking(fd, blocking, /)
1643
+
1644
+ Set the blocking mode of the specified file descriptor. Set the
1645
+ :data: `O_NONBLOCK ` flag if blocking is ``False ``, clear the flag otherwise.
1646
+
1647
+ See also :func: `get_blocking ` and :meth: `socket.socket.setblocking `.
1648
+
1649
+ .. availability :: Unix, Windows.
1650
+
1651
+ The function is limited on Emscripten and WASI, see
1652
+ :ref: `wasm-availability ` for more information.
1653
+
1654
+ On Windows, this function is limited to pipes.
1655
+
1656
+ .. versionadded :: 3.5
1657
+
1658
+ .. versionchanged :: 3.12
1659
+ Added support for pipes on Windows.
1660
+
1661
+
1661
1662
.. function :: splice(src, dst, count, offset_src=None, offset_dst=None)
1662
1663
1663
1664
Transfer *count * bytes from file descriptor *src *, starting from offset
0 commit comments