[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(('', 8080))

nosy: +yselivanov

Python tracker <report at bugs.python.org>

More information about the docs mailing list