[Python-checkins] r75551 - python/trunk/Doc/library/queue.rst

benjamin.peterson python-checkins at python.org
Tue Oct 20 05:14:10 CEST 2009


Author: benjamin.peterson
Date: Tue Oct 20 05:14:10 2009
New Revision: 75551

Log:
use property api

Modified:
   python/trunk/Doc/library/queue.rst

Modified: python/trunk/Doc/library/queue.rst
==============================================================================
--- python/trunk/Doc/library/queue.rst	(original)
+++ python/trunk/Doc/library/queue.rst	Tue Oct 20 05:14:10 2009
@@ -183,7 +183,7 @@
    q = Queue()
    for i in range(num_worker_threads):
         t = Thread(target=worker)
-        t.setDaemon(True)
+        t.daemon = True
         t.start()
 
    for item in source():


More information about the Python-checkins mailing list