From: Georg Brandl Date: Wed, 18 Feb 2009 00:22:55 +0000 (+0000) Subject: #5297: fix example. X-Git-Tag: v2.7a1~1997 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=52f6b6d500c428602420538c7e1fd5f4d312c613;p=python #5297: fix example. --- diff --git a/Doc/library/socketserver.rst b/Doc/library/socketserver.rst index 6ae9038daa..a4f181bf92 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")