mirror of
https://github.com/python/cpython.git
synced 2025-07-31 07:04:42 +00:00
use property api
This commit is contained in:
parent
e089980cf3
commit
e047d7953f
1 changed files with 1 additions and 1 deletions
|
@ -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():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue