[Python-checkins] r69114 - python/branches/py3k/Doc/library/queue.rst

benjamin.peterson python-checkins at python.org
Fri Jan 30 03:29:43 CET 2009


Author: benjamin.peterson
Date: Fri Jan 30 03:29:43 2009
New Revision: 69114

Log:
fix a case of set_daemon #5087

Modified:
   python/branches/py3k/Doc/library/queue.rst

Modified: python/branches/py3k/Doc/library/queue.rst
==============================================================================
--- python/branches/py3k/Doc/library/queue.rst	(original)
+++ python/branches/py3k/Doc/library/queue.rst	Fri Jan 30 03:29:43 2009
@@ -147,7 +147,7 @@
    q = Queue()
    for i in range(num_worker_threads):
         t = Thread(target=worker)
-        t.set_daemon(True)
+        t.daemon = True
         t.start()
 
    for item in source():


More information about the Python-checkins mailing list