[Python-checkins] r67952 - python/trunk/Doc/library/socketserver.rst

georg.brandl python-checkins at python.org
Sat Dec 27 18:42:40 CET 2008


Author: georg.brandl
Date: Sat Dec 27 18:42:40 2008
New Revision: 67952
Log:
#4752: actually use custom handler in example.
Modified:
 python/trunk/Doc/library/socketserver.rst
Modified: python/trunk/Doc/library/socketserver.rst
==============================================================================
--- python/trunk/Doc/library/socketserver.rst	(original)
+++ python/trunk/Doc/library/socketserver.rst	Sat Dec 27 18:42:40 2008
@@ -448,7 +448,7 @@
 
 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::


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /