[docs] [issue24911] Context manager of socket.socket is not documented
Yury Selivanov
report at bugs.python.org
Tue Feb 16 11:03:12 EST 2016
Yury Selivanov added the comment:
The patch looks good. It would also be cool if you can add a short code snippet somewhere:
sock = socket.socket()
with sock:
sock.bind(('127.0.0.1', 8080))
sock.listen()
...
----------
nosy: +yselivanov
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24911>
_______________________________________
More information about the docs
mailing list