summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-02-18 00:22:55 (GMT)
committerGeorg Brandl <georg@python.org>2009-02-18 00:22:55 (GMT)
commit52f6b6d500c428602420538c7e1fd5f4d312c613 (patch)
tree65ced3d068f42c3c3ef808dbd7031aa17743e0ac
parent0e5001eff9a44bdabe2d2b25903e144a3dcbc77f (diff)
downloadcpython-52f6b6d500c428602420538c7e1fd5f4d312c613.zip
cpython-52f6b6d500c428602420538c7e1fd5f4d312c613.tar.gz
cpython-52f6b6d500c428602420538c7e1fd5f4d312c613.tar.bz2
#5297: fix example.
-rw-r--r--Doc/library/socketserver.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/socketserver.rst b/Doc/library/socketserver.rst
index 6ae9038..a4f181b 100644
--- a/Doc/library/socketserver.rst
+++ b/Doc/library/socketserver.rst
@@ -517,7 +517,7 @@ An example for the :class:`ThreadingMixIn` class::
# Exit the server thread when the main thread terminates
server_thread.setDaemon(True)
server_thread.start()
- print "Server loop running in thread:", t.getName()
+ print "Server loop running in thread:", server_thread.getName()
client(ip, port, "Hello World 1")
client(ip, port, "Hello World 2")