]> granicus.if.org Git - python/commitdiff
Merged revisions 76430 via svnmerge from
authorGeorg Brandl <georg@python.org>
Wed, 19 May 2010 13:53:17 +0000 (13:53 +0000)
committerGeorg Brandl <georg@python.org>
Wed, 19 May 2010 13:53:17 +0000 (13:53 +0000)
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.
........

Doc/library/socketserver.rst

index 662789be006486d6767207c30f9277d7d6cc2397..5f68d330646111106379e37ac0739278f13c5a70 100644 (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::