mirror of
https://github.com/python/cpython.git
synced 2025-08-01 15:43:13 +00:00
Issue 7363: fix indentation in socketserver udpserver example.
This commit is contained in:
parent
246ec332fd
commit
4823961596
1 changed files with 3 additions and 3 deletions
|
@ -455,9 +455,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::
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue