@@ -1578,25 +1578,6 @@ or `the MSDN <https://msdn.microsoft.com/en-us/library/z0kc8e3z.aspx>`_ on Windo
1578
1578
Parameters *out * and *in * was renamed to *out_fd * and *in_fd *.
1579
1579
1580
1580
1581
- .. function :: set_blocking(fd, blocking, /)
1582
-
1583
- Set the blocking mode of the specified file descriptor. Set the
1584
- :data: `O_NONBLOCK ` flag if blocking is ``False ``, clear the flag otherwise.
1585
-
1586
- See also :func: `get_blocking ` and :meth: `socket.socket.setblocking `.
1587
-
1588
- .. availability :: Unix, Windows.
1589
-
1590
- The function is limited on Emscripten and WASI, see
1591
- :ref: `wasm-availability ` for more information.
1592
-
1593
- On Windows, this function is limited to pipes.
1594
-
1595
- .. versionadded :: 3.5
1596
-
1597
- .. versionchanged :: 3.12
1598
- Added support for pipes on Windows.
1599
-
1600
1581
.. data :: SF_NODISKIO
1601
1582
SF_MNOWAIT
1602
1583
SF_SYNC
@@ -1608,6 +1589,7 @@ or `the MSDN <https://msdn.microsoft.com/en-us/library/z0kc8e3z.aspx>`_ on Windo
1608
1589
1609
1590
.. versionadded :: 3.3
1610
1591
1592
+
1611
1593
.. data :: SF_NOCACHE
1612
1594
1613
1595
Parameter to the :func: `sendfile ` function, if the implementation supports
@@ -1618,6 +1600,26 @@ or `the MSDN <https://msdn.microsoft.com/en-us/library/z0kc8e3z.aspx>`_ on Windo
1618
1600
.. versionadded :: 3.11
1619
1601
1620
1602
1603
+ .. function :: set_blocking(fd, blocking, /)
1604
+
1605
+ Set the blocking mode of the specified file descriptor. Set the
1606
+ :data: `O_NONBLOCK ` flag if blocking is ``False ``, clear the flag otherwise.
1607
+
1608
+ See also :func: `get_blocking ` and :meth: `socket.socket.setblocking `.
1609
+
1610
+ .. availability :: Unix, Windows.
1611
+
1612
+ The function is limited on Emscripten and WASI, see
1613
+ :ref: `wasm-availability ` for more information.
1614
+
1615
+ On Windows, this function is limited to pipes.
1616
+
1617
+ .. versionadded :: 3.5
1618
+
1619
+ .. versionchanged :: 3.12
1620
+ Added support for pipes on Windows.
1621
+
1622
+
1621
1623
.. function :: splice(src, dst, count, offset_src=None, offset_dst=None)
1622
1624
1623
1625
Transfer *count * bytes from file descriptor *src *, starting from offset
0 commit comments