summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorR. David Murray <rdmurray@bitdance.com>2009-11-20 13:29:43 (GMT)
committerR. David Murray <rdmurray@bitdance.com>2009-11-20 13:29:43 (GMT)
commit4823961596d8d5f0da8430b7c5cd66ea6fd7292d (patch)
tree4339fdd09f2d14d434772c91dc1e55a7267026ab /Doc
parent246ec332fda2b8bbd6e6b4335cd540db5238698d (diff)
downloadcpython-4823961596d8d5f0da8430b7c5cd66ea6fd7292d.zip
cpython-4823961596d8d5f0da8430b7c5cd66ea6fd7292d.tar.gz
cpython-4823961596d8d5f0da8430b7c5cd66ea6fd7292d.tar.bz2
Issue 7363: fix indentation in socketserver udpserver example.
Diffstat (limited to 'Doc')
-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 2ed4935..fce216e 100644
--- a/Doc/library/socketserver.rst
+++ b/Doc/library/socketserver.rst
@@ -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::