Merged revisions 76430 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76430 | r.david.murray | 2009-11-20 14:29:43 +0100 (Fr, 20 Nov 2009) | 2 lines

  Issue 7363: fix indentation in socketserver udpserver example.
........
This commit is contained in:
Georg Brandl 2010-05-19 13:53:17 +00:00
parent aebafab612
commit bf737e8014
1 changed files with 3 additions and 3 deletions

View File

@ -456,9 +456,9 @@ This is the server side::
socket.sendto(data.upper(), self.client_address)
if __name__ == "__main__":
HOST, PORT = "localhost", 9999
server = SocketServer.UDPServer((HOST, PORT), MyUDPHandler)
server.serve_forever()
HOST, PORT = "localhost", 9999
server = SocketServer.UDPServer((HOST, PORT), MyUDPHandler)
server.serve_forever()
This is the client side::