mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
#5297: fix example.
This commit is contained in:
parent
0e5001eff9
commit
52f6b6d500
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue