[docs] [issue32558] Socketserver documentation : error in server example

Tristan Colombo report at bugs.python.org
Mon Jan 15 11:43:42 EST 2018


Tristan Colombo <tristan.colombo at gmail.com> added the comment:

Correction of my previous correction :
server = socketserver.TCPServer((HOST, PORT), MyTCPHandler)

'with' statement can not be used...

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32558>
_______________________________________


More information about the docs mailing list