[docs] [issue16802] fileno argument to socket.socket() undocumented
Richard Oudkerk
report at bugs.python.org
Mon Dec 31 15:50:30 CET 2012
Richard Oudkerk added the comment:
> There is an alternative (documented) interface:
>
> socket.fromfd(handle, socket.AF_INET, socket.SOCK_STREAM).close()
socket.fromfd() duplicates the handle, so that does not close the original handle.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16802>
_______________________________________
More information about the docs
mailing list