]> granicus.if.org Git - python/commitdiff
#5297: fix example.
authorGeorg Brandl <georg@python.org>
Wed, 18 Feb 2009 00:22:55 +0000 (00:22 +0000)
committerGeorg Brandl <georg@python.org>
Wed, 18 Feb 2009 00:22:55 +0000 (00:22 +0000)
Doc/library/socketserver.rst

index 6ae9038daa8b31ac643cb31e52347ae240358b35..a4f181bf929bbb21d3db9fde55142096ae723532 100644 (file)
@@ -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")