summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-05-19 13:53:17 +0000
committerGeorg Brandl <georg@python.org>2010-05-19 13:53:17 +0000
commitbf737e8014442acd3cac5748e5dc958c06a69b69 (patch)
tree7b1632732738a2bd7abe5f1d637d2db736b1cd05
parentaebafab6121d0a6a65fdc26f965983a46d6a4e70 (diff)
downloadcpython-git-bf737e8014442acd3cac5748e5dc958c06a69b69.tar.gz
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. ........
-rw-r--r--Doc/library/socketserver.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/socketserver.rst b/Doc/library/socketserver.rst
index 662789be00..5f68d33064 100644
--- a/Doc/library/socketserver.rst
+++ b/Doc/library/socketserver.rst
@@ -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::