Commit c79b06c3 authored by Kushal Das's avatar Kushal Das

Issue #19234: Merge from 3.5

parents 7a3827f6 89beb270
......@@ -931,14 +931,13 @@ to sockets.
.. method:: socket.fileno()
Return the socket's file descriptor (a small integer). This is useful with
:func:`select.select`.
Return the socket's file descriptor (a small integer), or -1 on failure. This
is useful with :func:`select.select`.
Under Windows the small integer returned by this method cannot be used where a
file descriptor can be used (such as :func:`os.fdopen`). Unix does not have
this limitation.
.. method:: socket.get_inheritable()
Get the :ref:`inheritable flag <fd_inheritance>` of the socket's file
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment