[Python-Dev] doc error in 2.6.2

Leo Jay python.leojay at gmail.com
Fri May 15 18:18:42 CEST 2009


There is a syntax error in the client side code of
"SocketServer.UDPServer Example" in
http://docs.python.org/library/socketserver.html:
import socket
import sys

HOST, PORT = "localhost"
data = " ".join(sys.argv[1:])

Obviously, it should be:
HOST, PORT = "localhost", 9999

--
Leo Jay


More information about the Python-Dev mailing list