use property api

This commit is contained in:
Benjamin Peterson 2009-10-20 03:14:10 +00:00
parent e089980cf3
commit e047d7953f
1 changed files with 1 additions and 1 deletions

View File

@ -183,7 +183,7 @@ Example of how to wait for enqueued tasks to be completed::
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():