diff options
author | Georg Brandl <georg@python.org> | 2008-12-27 17:42:40 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-12-27 17:42:40 (GMT) |
commit | bedc343145888438bd1c3affc066770dd4c52575 (patch) | |
tree | d970599c189d12885c3fd946c3388ef48821f8e5 /Doc | |
parent | 6f193e0e959432f2227c0380b970a82f58c8a0c8 (diff) | |
download | cpython-bedc343145888438bd1c3affc066770dd4c52575.zip cpython-bedc343145888438bd1c3affc066770dd4c52575.tar.gz cpython-bedc343145888438bd1c3affc066770dd4c52575.tar.bz2 |
#4752: actually use custom handler in example.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/socketserver.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/socketserver.rst b/Doc/library/socketserver.rst index 7f4daad..786632e 100644 --- a/Doc/library/socketserver.rst +++ b/Doc/library/socketserver.rst @@ -448,7 +448,7 @@ This is the server side:: if __name__ == "__main__": HOST, PORT = "localhost", 9999 - server = SocketServer.UDPServer((HOST, PORT), BaseUDPRequestHandler) + server = SocketServer.UDPServer((HOST, PORT), MyUDPHandler) server.serve_forever() This is the client side:: |